blob: 32f8908bd3a2c16faef7fcdf69091c2951a93c58 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnupg
pkgver=2.1.0_beta895
_ver=${pkgver/_beta/-beta}
pkgrel=0
pkgdesc="GNU Privacy Guard 2 - a PGP replacement tool"
url="http://www.gnupg.org/"
arch="all"
license="GPL"
options=""
depends="pinentry"
makedepends="curl-dev libassuan libksba-dev libgcrypt-dev libgpg-error-dev
npth-dev zlib-dev libiconv-dev libassuan-dev openldap-dev"
subpackages="$pkgname-doc"
source="ftp://ftp.gnupg.org/gcrypt/gnupg/unstable/gnupg-$_ver.tar.bz2
0001-Include-sys-select.h-for-FD_SETSIZE.patch
"
_builddir="$srcdir"/$pkgname-$_ver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
update_config_sub || return 1
}
build () {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-nls \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
# compat symlink
ln -s gpg2 "$pkgdir"/usr/bin/gpg
}
md5sums="a496fa17a526bb4b8248a99a1c5dcbac gnupg-2.1.0-beta895.tar.bz2
1d944009f039912d92e4f119bd6826e4 0001-Include-sys-select.h-for-FD_SETSIZE.patch"
sha256sums="c41400dfbeb8920ce3048c72726e276c6a78aa845a4c984a9f484932819499f3 gnupg-2.1.0-beta895.tar.bz2
6ce103e1bf68ba8e35b0e6d5805632deddded62b3224b185589f7bd9243ddb9e 0001-Include-sys-select.h-for-FD_SETSIZE.patch"
sha512sums="5c698f493d46ea2a374f0fc31ac2691e9f2e46026bc8ac02d98362103906d940d73b02b369f843d977125df3e413f290fc3b05f75c65e6732d32812c2dc4b530 gnupg-2.1.0-beta895.tar.bz2
c6cc4595081c5b025913fa3ebecf0dff87a84f3c669e3fef106e4fa040f1d4314ee52dd4c0e0002b213034fb0810221cfdd0033eae5349b6e3978f05d08bcac7 0001-Include-sys-select.h-for-FD_SETSIZE.patch"
|