aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnupg/APKBUILD
blob: 445dd673164286ab3272c4d54a894c832e0e0947 (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
29
30
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnupg
pkgver=2.0.20
pkgrel=0
pkgdesc="GNU Privacy Guard 2 - a PGP replacement tool"
url="http://www.gnupg.org/"
arch="all"
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="9d18ee71bb0b10d40d1c8a393bdd7a89  gnupg-2.0.20.tar.bz2"
sha256sums="6e949b7f062cab8a3cf0910f91ecf04cabaad458c0aeeec66298651b8b04b79a  gnupg-2.0.20.tar.bz2"
sha512sums="f4eec0ed3503f2aeecfa63af53b844b19ee4be596ea487dce69ec14189c8163652c932d0e657be147b1ca3d7dc8adf9cc1bc8067086fe0c51a3487d56df388c4  gnupg-2.0.20.tar.bz2"