aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-07-07 20:21:22 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-10 10:00:49 +0000
commit599b36e03fd60efbdfc810d38b2502da8c89c384 (patch)
treee97acb69dadb4d1f761f824c130f82f17db495fb
parent6f85000492669d914ec887fad06cd7963a38d111 (diff)
downloadaports-599b36e03fd60efbdfc810d38b2502da8c89c384.tar.gz
aports-599b36e03fd60efbdfc810d38b2502da8c89c384.tar.bz2
aports-599b36e03fd60efbdfc810d38b2502da8c89c384.tar.xz
main/libksba: upgrade to 1.3.5
-rw-r--r--main/libksba/APKBUILD30
1 files changed, 16 insertions, 14 deletions
diff --git a/main/libksba/APKBUILD b/main/libksba/APKBUILD
index 7dfcfebf6e..e5a0d28465 100644
--- a/main/libksba/APKBUILD
+++ b/main/libksba/APKBUILD
@@ -1,33 +1,35 @@
# Contributor: Ɓukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libksba
-pkgver=1.3.4
+pkgver=1.3.5
pkgrel=0
pkgdesc="Libksba is a CMS and X.509 access library"
-url="ftp://ftp.gnupg.org/gcrypt/alpha/libksba"
+url="https://www.gnupg.org/software/libksba/index.html"
arch="all"
license="GPL"
-depends=
makedepends="libgpg-error-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2"
+source="https://www.gnupg.org/ftp/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2"
-_builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/$pkgname-$pkgver"
build () {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
- --prefix=/usr \
- || return 1
- make || return 1
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="2bfc3d69053db7b6983b5627706033f4 libksba-1.3.4.tar.bz2"
-sha256sums="f6c2883cebec5608692d8730843d87f237c0964d923bbe7aa89c05f20558ad4f libksba-1.3.4.tar.bz2"
-sha512sums="22e072ff1cacdda548b3842e0300a9b77a6a0af858ea877430cb093012048ebc4b4c01130f459f4050464fc8da8df2c6a10ed4057f84afdd92dc40522cca4185 libksba-1.3.4.tar.bz2"
+
+sha512sums="60179bfd109b7b4fd8d2b30a3216540f03f5a13620d9a5b63f1f95788028708a420911619f172ba57e945a6a2fcd2ef7eaafc5585a0eb2b9652cfadf47bf39a2 libksba-1.3.5.tar.bz2"