summaryrefslogtreecommitdiffstats
path: root/extra/gnupg/Pkgfile
blob: fef1ae5dc08f8bb8d3373b88ef58b72846569667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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
# Run on: libgcrypt,libassuan,libksba,pinentry

name=gnupg
version=2.0.16
release=4
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
}