summaryrefslogtreecommitdiffstats
path: root/main/gnupg/APKBUILD
blob: 00ef8ecdddf4c8c305ff8e22b6f859cfeb688223 (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
25
26
27
28
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnupg
pkgver=2.0.16
pkgrel=2
pkgdesc="GNU Privacy Guard 2 - a PGP replacement tool"
url="http://www.gnupg.org/"
arch="x86 x86_64"
license="GPL"
depends="pinentry"
makedepends="curl-dev libassuan libksba-dev libgcrypt-dev libgpg-error-dev 
	pth-dev zlib-dev libiconv-dev libassuan-dev"
subpackages="$pkgname-doc"
source="ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-$pkgver.tar.bz2"

build () {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr \
		--disable-nls
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
	# compat symlink
	ln -s gpg2 "$pkgdir"/usr/bin/gpg
}
md5sums="88a4d46deca63d2eca29b2b611304afb  gnupg-2.0.16.tar.bz2"