updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / loop-aes-gnupg / PKGBUILD
blob24e0cd0fe74f4037153ce15a3719678ec95c8ee7
1 # Maintainer: Darko Trifunovski <dtrifuno At gmail dOT com>
2 pkgname=loop-aes-gnupg
3 _origname=gnupg
4 pkgver=1.4.10
5 pkgrel=1
6 pkgdesc="GNU Privacy Guard - statically linked for use with loop-aes"
7 arch=('i686' 'x86_64')
8 license=('GPL3')
9 depends=('zlib' 'bzip2' 'libldap>=2.4.18' 'libusb' 'curl>=7.16.2' 'readline>=6.0.00')
10 conflicts=('gnupg')
11 provides=('gnupg')
12 source=(ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/gnupg/$_origname-$pkgver.tar.bz2
13         gnupg-1.4.10.diff)
14 install=gnupg.install
15 url="http://www.gnupg.org/"
16 sha512sums=('779109950260c351556130da46d8f2847245703af78b42e5dc5371fa019a1f589ff6fdb3af1cb053f4516fcbaa2cd2566b4cf59b0b0a44b63921a0533d168adb'
17             '5d512fdd450e854b0941ea3abafef903f8dddaeeba5457dfa1e19a87a213a41c1362117bfce328706ec4824c8d966aa5ccec2a0a41a32e943e9a8bb8ab553d27')
19 build() {
20   cd ${srcdir}/${_origname}-${pkgver}
21   patch -p1 -i ${srcdir}/gnupg-1.4.10.diff
22   LDFLAGS="-static -s" ./configure --prefix=/usr --libexecdir=/usr/lib --enable-static-rnd=linux # docdir can't be set properly
23   make || return 1
24   ln -s ${_origname}-${pkgver}/scripts ..
25   make DESTDIR=${pkgdir} install || return 1
26   
27   # fix fileconflict with gnupg2 pkg
28   rm ${pkgdir}/usr/share/man/man1/gpg-zip.1