diff options
| author | nignux <[email protected]> | 2011-04-15 16:22:25 (GMT) |
|---|---|---|
| committer | Jaromil <[email protected]> | 2011-04-27 21:40:42 (GMT) |
| commit | 2a511b52a2c53248eef0ae980b728b3cc339c961 (patch) | |
| tree | b928ddfe685d51d4965ac5b9b87465a6fa15d031 | |
| parent | 4b99afc5adc196554e7f4dc1cb92072a11ce86a0 (diff) | |
Packaging for ArchLinux
| -rw-r--r-- | archlinux/PKGBUILD | 49 | ||||
| -rw-r--r-- | archlinux/tomb.install | 13 |
2 files changed, 62 insertions, 0 deletions
diff --git a/archlinux/PKGBUILD b/archlinux/PKGBUILD new file mode 100644 index 0000000..1fa47a6 --- a/dev/null +++ b/archlinux/PKGBUILD @@ -0,0 +1,49 @@ +# Author: jaromil <[email protected]> +# Maintainer: nignux <[email protected]> + +pkgname=tomb +pkgver=20110415 +pkgrel=1 +pkgdesc="The Crypto Undertaker: a tool for encrypted storage of files locked by key files and passwords." +arch=('i686' 'x86_64') +url="http://tomb.dyne.org/" +license=('GPL') +depends=('bc' 'cryptsetup' + 'gnupg' 'gtk2>=2.16' + 'libnotify' 'pinentry' + 'sudo' 'zsh') +makedepends=('git') +optdepends=('steghide: steganography support' + 'dcfldd: dd hashing support' + 'wipe: secure remove support') +install=${pkgname}.install +provides=('tomb') + +_gitroot="git://code.dyne.org/tomb.git" +_gitname="tomb" + +build() { + cd ${srcdir} + msg "Connecting to GIT server...." + + if [ -d ${_gitname} ] ; then + cd ${_gitname} && git pull origin + msg "The local files are updated." + else + git clone ${_gitroot} ${_gitname} + fi + + msg "GIT checkout done" + msg "Starting make..." + + cd ${srcdir}/${_gitname} + + autoreconf -i + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${_gitname} + make DESTDIR=${pkgdir} install +} diff --git a/archlinux/tomb.install b/archlinux/tomb.install new file mode 100644 index 0000000..c1ee8b3 --- a/dev/null +++ b/archlinux/tomb.install @@ -0,0 +1,13 @@ +post_install() { + update-desktop-database -q + update-mime-database usr/share/mime +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + |

