summaryrefslogtreecommitdiff
path: root/user/gpgme/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-02-26 17:26:20 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-02-26 17:26:20 +0000
commitba5fe57ac3da43128560a805407bc66718ece336 (patch)
treea54aabbbcdd04fa3e9b6304751ada3436aeef067 /user/gpgme/APKBUILD
parenta646bf53e371ab9b4e0b8c16b62f240925663063 (diff)
parent6161aa107af87e6cea9a4c7ae3011a10c5081164 (diff)
downloadpackages-ba5fe57ac3da43128560a805407bc66718ece336.tar.gz
packages-ba5fe57ac3da43128560a805407bc66718ece336.tar.bz2
packages-ba5fe57ac3da43128560a805407bc66718ece336.tar.xz
packages-ba5fe57ac3da43128560a805407bc66718ece336.zip
Merge branch 'gpgme' into 'master'
user/gpgme: Fixes & new py3-gpg subpackage See merge request !186
Diffstat (limited to 'user/gpgme/APKBUILD')
-rw-r--r--user/gpgme/APKBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/user/gpgme/APKBUILD b/user/gpgme/APKBUILD
index 21b537848..01f7e6030 100644
--- a/user/gpgme/APKBUILD
+++ b/user/gpgme/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gpgme
pkgver=1.12.0
-pkgrel=0
+pkgrel=1
pkgdesc="GnuPG Made Easy"
url="https://www.gnupg.org/related_software/gpgme/"
arch="all"
@@ -10,9 +10,10 @@ arch="all"
license="(LGPL-3.0+ OR GPL-2.0+) AND LGPL-2.1+ AND MIT AND GPL-3.0+"
depends="gnupg"
depends_dev="libgpg-error-dev libassuan-dev qt5-qtbase-dev"
-makedepends="$depends_dev doxygen"
-subpackages="$pkgname-dev $pkgname-doc gpgmepp qgpgme"
-source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2"
+makedepends="$depends_dev doxygen python3-dev"
+subpackages="$pkgname-dev $pkgname-doc gpgmepp qgpgme py3-gpg:_py"
+source="https://gnupg.org/ftp/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2
+ 1.12.0-fix-t-tofuinfo.patch"
build() {
cd "$builddir"
@@ -25,6 +26,7 @@ build() {
--infodir=/usr/share/info \
--localstatedir=/var
make
+ make -C lang/python
}
check() {
@@ -43,16 +45,19 @@ qgpgme() {
mv "$pkgdir"/usr/lib/libqgpgme.so* "$subpkgdir"/usr/lib/
}
-check() {
- cd "$builddir"
- make check
-}
-
gpgmepp() {
pkgdesc="C++ bindings for GPGME"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libgpgmepp.so.* "$subpkgdir"/usr/lib/
}
+_py() {
+ pkgdesc="$pkgdesc (Python bindings)"
+ depends="$pkgname=$pkgver-r$pkgrel python3"
+
+ mkdir -p "$subpkgdir/usr/lib/"
+ mv "$pkgdir/usr/lib/python"* "$subpkgdir/usr/lib/"
+}
-sha512sums="c228b3df28377df882be536ada56dc9c73150048a58e591aa4495f89c854af95820152cd60139840f994c249e9c7df50d8b89eb9d6dc4ce02aa80bbfebcdd014 gpgme-1.12.0.tar.bz2"
+sha512sums="c228b3df28377df882be536ada56dc9c73150048a58e591aa4495f89c854af95820152cd60139840f994c249e9c7df50d8b89eb9d6dc4ce02aa80bbfebcdd014 gpgme-1.12.0.tar.bz2
+c8748651021a6ea670329cffb9565b905272b092315e77dc6fa9fa23890f8a55c2159edbfa026e8af961f2ff0c0d524dc8332a2e9a24fce2b37ac7cc4bb88cb3 1.12.0-fix-t-tofuinfo.patch"