updated on Mon Jan 16 04:00:32 UTC 2012
[aur-mirror.git] / tomb-git / PKGBUILD
blobca1b2fb4c7d5736cb2766cc7d542ec9ec4cc1c92
1 # Maintainer: nignux <nignux@freaknet.org>
3 pkgname=tomb-git
4 pkgver=20110407
5 pkgrel=1
6 pkgdesc="Crypto Undertaker, simple tool to manage encrypted storage, from the hashes of the dyne:bolic nesting mechanism."
7 arch=('i686' 'x86_64')
8 url="http://tomb.dyne.org/"
9 license=('GPL')
10 depends=('bc' 'cryptsetup' 
11          'gnupg' 'gtk2>=2.16' 
12          'libnotify' 'pinentry' 
13          'sudo' 'zsh')
14 makedepends=('git' 'autoconf')
15 optdepends=('steghide: steganography support' 
16             'dcfldd: dd progress bar support'
17             'wipe: secure delete support')
18 install=${pkgname}.install
19 provides=('tomb')
21 #You can customize _gituser and _gitbranch to test specific developer's repo
22 _gituser="dyne"
23 _gitbranch="master"
25 _gitroot="git://github.com/${_gituser}/Tomb.git"
26 _gitname="tomb-${_gituser}"
27 build() {
28   cd ${srcdir}
29   msg "Connecting to GIT server...."
31   if [ -d ${_gitname} ] ; then
32     cd ${_gitname} && git pull origin
33         git checkout ${_gitbranch}
34     msg "The local files are updated."
35   else
36     git clone -b ${_gitbranch} ${_gitroot} ${_gitname}
37   fi
39   msg "GIT checkout done"
40   msg "Starting make..."
41   
42   cd ${srcdir}/${_gitname}
44   autoreconf -i
45   ./configure --prefix=/usr
46   make
49 package() {
50   cd ${srcdir}/${_gitname}
51   make DESTDIR=${pkgdir} install