summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-14 02:52:17 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-14 02:52:17 -0500
commit8f2a5aca6706cb2b884533f1c8d52d9b51bf8fc5 (patch)
tree2233a408827287dcc26b09573247fece102403ad /user
parent802b48187a42d3a54dcbc3f8ec2fae7152def059 (diff)
downloadpackages-8f2a5aca6706cb2b884533f1c8d52d9b51bf8fc5.tar.gz
packages-8f2a5aca6706cb2b884533f1c8d52d9b51bf8fc5.tar.bz2
packages-8f2a5aca6706cb2b884533f1c8d52d9b51bf8fc5.tar.xz
packages-8f2a5aca6706cb2b884533f1c8d52d9b51bf8fc5.zip
user/libksba: pull in, take, fix up
Diffstat (limited to 'user')
-rw-r--r--user/libksba/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/libksba/APKBUILD b/user/libksba/APKBUILD
new file mode 100644
index 000000000..28f152d7a
--- /dev/null
+++ b/user/libksba/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Łukasz Jendrysik <scadu@yandex.com>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libksba
+pkgver=1.3.5
+pkgrel=1
+pkgdesc="CMS and X.509 access library"
+url="https://www.gnupg.org/software/libksba/index.html"
+arch="all"
+# tools are GPL 3, libs are LGPL3/GPL2
+license="(LGPL-3.0+ OR GPL-2.0+) AND GPL-3.0+"
+makedepends="libgpg-error-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.gnupg.org/ftp/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="60179bfd109b7b4fd8d2b30a3216540f03f5a13620d9a5b63f1f95788028708a420911619f172ba57e945a6a2fcd2ef7eaafc5585a0eb2b9652cfadf47bf39a2 libksba-1.3.5.tar.bz2"