aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2020-02-23 10:23:36 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-02-23 15:00:07 -0300
commit02f4466d1fb545b439282da684b833a7749342f1 (patch)
treeb1641761dd28e4eb23bd8c519f4c793c1785cbda
parent72f69f4e16b70fddc40a2da700b68fabd95756b2 (diff)
downloadaports-02f4466d1fb545b439282da684b833a7749342f1.tar.gz
aports-02f4466d1fb545b439282da684b833a7749342f1.tar.bz2
aports-02f4466d1fb545b439282da684b833a7749342f1.tar.xz
community/gpgme: add lisp subpackage
-rw-r--r--community/gpgme/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/gpgme/APKBUILD b/community/gpgme/APKBUILD
index b45e5df302..f570fe34cc 100644
--- a/community/gpgme/APKBUILD
+++ b/community/gpgme/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gpgme
pkgver=1.13.1
-pkgrel=1
+pkgrel=2
pkgdesc="gnupg made easy"
url="https://www.gnupg.org/related_software/gpgme/"
arch="all"
@@ -10,9 +10,8 @@ license="LGPL-2.1-or-later GPL-3.0-or-later"
depends="gnupg"
depends_dev="qt5-qtbase-dev"
makedepends="$depends_dev python3-dev py3-setuptools swig libgpg-error-dev libassuan-dev"
-subpackages="$pkgname-dev $pkgname-doc gpgmepp py3-gpgme:py3 q$pkgname"
-source="https://www.gnupg.org/ftp/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2
- "
+subpackages="$pkgname-dev $pkgname-doc gpgmepp py3-gpgme:py3 q$pkgname $pkgname-lisp:lisp:noarch"
+source="https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-$pkgver.tar.bz2"
build() {
./configure \
@@ -23,7 +22,7 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
- --enable-languages="cl cpp qt python"
+ --enable-languages="cl cpp python qt"
make
}
@@ -35,6 +34,11 @@ check() {
make check
}
+lisp() {
+ mkdir -p "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/share "$subpkgdir"/usr/share/
+}
+
gpgmepp() {
pkgdesc="C++ bindings for GPGME"
mkdir -p "$subpkgdir"/usr/lib