summaryrefslogtreecommitdiff
path: root/user/gnupg/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-14 03:12:30 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-14 03:12:30 -0500
commited678f36b0bd9d632bcc2176cbe02d317503b5d4 (patch)
treefedc96c294758ce93742ae9965366ad7d5c53e88 /user/gnupg/APKBUILD
parent31ef01c5bb17dbc28b7922d0e1c4b4d9d531c0e7 (diff)
downloadpackages-ed678f36b0bd9d632bcc2176cbe02d317503b5d4.tar.gz
packages-ed678f36b0bd9d632bcc2176cbe02d317503b5d4.tar.bz2
packages-ed678f36b0bd9d632bcc2176cbe02d317503b5d4.tar.xz
packages-ed678f36b0bd9d632bcc2176cbe02d317503b5d4.zip
user/gnupg: pull in, take, bump, fix up, add -lang
Diffstat (limited to 'user/gnupg/APKBUILD')
-rw-r--r--user/gnupg/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/user/gnupg/APKBUILD b/user/gnupg/APKBUILD
new file mode 100644
index 000000000..622ee6358
--- /dev/null
+++ b/user/gnupg/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=gnupg
+pkgver=2.2.9
+pkgrel=0
+pkgdesc="GNU Privacy Guard 2 - PGP replacement"
+url="https://www.gnupg.org/"
+arch="all"
+license="GPL"
+depends="pinentry"
+makedepends="bzip2-dev gnutls-dev libassuan-dev libgcrypt-dev libgpg-error-dev
+ libksba-dev npth-dev openldap-dev sqlite-dev zlib-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://gnupg.org/ftp/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2
+ 0001-Include-sys-select.h-for-FD_SETSIZE.patch
+ fix-i18n.patch"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --enable-nls \
+ --enable-bzip2 \
+ --enable-tofu
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="96faf227bef78fee99ff20606f3ce74eddc407c3864b928f8676a80f50dfaf2dd291eaeeaa0d291a254275a87e4f8506df9ed31c1cfc7652999208c292a16922 gnupg-2.2.9.tar.bz2
+c6cc4595081c5b025913fa3ebecf0dff87a84f3c669e3fef106e4fa040f1d4314ee52dd4c0e0002b213034fb0810221cfdd0033eae5349b6e3978f05d08bcac7 0001-Include-sys-select.h-for-FD_SETSIZE.patch
+b19a44dacf061dd02b439ab8bd820e3c721aab77168f705f5ce65661f26527b03ea88eec16d78486a633c474120589ec8736692ebff57ab9b95f52f57190ba6b fix-i18n.patch"