summaryrefslogtreecommitdiffstats
path: root/extra/gnupg/Pkgfile
blob: 0cc476379fa8bb5cdc4a87b82f833ac243a10f43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: GNU gardien des données privées
# URL: 	http://www.gnupg.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: pth, libgpg-error libgcrypt, libassuan, libksba, libldap, pinentry, readline, texinfo, zlib, libusb, curl

name=gnupg
version=2.0.16
release=1
source=(ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-$version.tar.bz2
	gnupg2-2.0.16-security.patch)

build() {
	cd gnupg-$version
	 patch -Np0 -i ../gnupg2-2.0.16-security.patch

	./configure --prefix=/usr \
	--libexecdir=/usr/lib/gnupg2
	make
	make DESTDIR=$PKG install
	rm $PKG/usr/share/info/dir
}