blob: 73cdbbc725148c0ca82f7db68b7073f708c1fde8 (
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
31
32
33
34
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnupg
pkgver=2.0.21
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 \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-nls \
|| return 1
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
# compat symlink
ln -s gpg2 "$pkgdir"/usr/bin/gpg
}
md5sums="48c05f5dfe97cf21ae0ced811aaad750 gnupg-2.0.21.tar.bz2"
sha256sums="00df8902c7cef4d2440d36ca2a45985853eb36c34a4163bc995c3578030eeef5 gnupg-2.0.21.tar.bz2"
sha512sums="e31b7d9143462e4846111cdbcf0af9ad93fb1f5b9324a1c126c060e4cefb09d3c6b2f85e655d3960b5f21f09317cefd2c5b786e129efb62feab20f4b9a6770ba gnupg-2.0.21.tar.bz2"
|