summaryrefslogtreecommitdiff
path: root/user/gnupg/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/gnupg/APKBUILD')
-rw-r--r--user/gnupg/APKBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/user/gnupg/APKBUILD b/user/gnupg/APKBUILD
index 400967285..baf95d212 100644
--- a/user/gnupg/APKBUILD
+++ b/user/gnupg/APKBUILD
@@ -2,18 +2,21 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gnupg
pkgver=2.2.11
-pkgrel=0
+pkgrel=1
pkgdesc="GNU Privacy Guard 2 - PGP replacement"
url="https://www.gnupg.org/"
arch="all"
license="GPL-3.0+ AND GPL-2.0+ AND LGPL-2.1+ AND LGPL-3.0+ AND MIT AND BSD-3-Clause AND Public-Domain"
depends="pinentry"
+pkggroups="gnupg"
makedepends="bzip2-dev gnutls-dev libassuan-dev libgcrypt-dev libgpg-error-dev
libksba-dev libusb-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"
+ fix-i18n.patch
+ 60-scdaemon.rules"
+install="$pkgname.pre-install $pkgname.pre-upgrade"
build() {
cd "$builddir"
@@ -27,7 +30,9 @@ build() {
--localstatedir=/var \
--enable-nls \
--enable-bzip2 \
- --enable-tofu
+ --enable-tofu \
+ --enable-scdaemon \
+ --enable-ccid-driver
make
}
@@ -39,8 +44,12 @@ check() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
+
+ mkdir -p "$pkgdir"/lib/udev/rules.d
+ install -Dm644 "$srcdir"/60-scdaemon.rules "$pkgdir"/lib/udev/rules.d
}
sha512sums="8aa8beea877993b6eef155e1a503ffdde9963ff04a24e6a3dea7979efeeeeeab57e942a80ad46ef254d27a83e8cb2e3008da7749afa8e39eade190c0499f95d9 gnupg-2.2.11.tar.bz2
c6cc4595081c5b025913fa3ebecf0dff87a84f3c669e3fef106e4fa040f1d4314ee52dd4c0e0002b213034fb0810221cfdd0033eae5349b6e3978f05d08bcac7 0001-Include-sys-select.h-for-FD_SETSIZE.patch
-b19a44dacf061dd02b439ab8bd820e3c721aab77168f705f5ce65661f26527b03ea88eec16d78486a633c474120589ec8736692ebff57ab9b95f52f57190ba6b fix-i18n.patch"
+b19a44dacf061dd02b439ab8bd820e3c721aab77168f705f5ce65661f26527b03ea88eec16d78486a633c474120589ec8736692ebff57ab9b95f52f57190ba6b fix-i18n.patch
+4bfb9742279c2d1c872d63cd4bcb01f6a2a13d94618eff954d3a37451fa870a9bb29687330854ee47e8876d6e60dc81cb2569c3931beaefacda33db23c464402 60-scdaemon.rules"