summaryrefslogtreecommitdiffstats
path: root/extra/gnupg/Pkgfile
blob: b36d7ce52f3db91147f10c2e58937a86ed3be7db (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

name=gnupg
version=2.0.16
release=2
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
	ln -s $PKG/usr/lib/gnupg2 $PKG/usr/lib/gnupg
}