diff options
Diffstat (limited to 'main/gnupg/APKBUILD')
-rw-r--r-- | main/gnupg/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/gnupg/APKBUILD b/main/gnupg/APKBUILD new file mode 100644 index 000000000..694524d6e --- /dev/null +++ b/main/gnupg/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gnupg +pkgver=2.0.17 +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="123af099740fd159c73a0352a274ec81 gnupg-2.0.17.tar.bz2" |