aboutsummaryrefslogtreecommitdiffstats
path: root/main/qca
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-03-20 13:00:52 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-20 13:01:04 +0000
commitc4f89da3f50ae4d781a61a93c6447776ed68c4dc (patch)
tree21d22ae07b729c69f9659f7dd1ccbb4550155a03 /main/qca
parent1939d63480e3f7e33cec852114e88178ad560224 (diff)
downloadaports-c4f89da3f50ae4d781a61a93c6447776ed68c4dc.tar.bz2
aports-c4f89da3f50ae4d781a61a93c6447776ed68c4dc.tar.xz
main/qca: add check() and use pkgver for source path
Diffstat (limited to 'main/qca')
-rw-r--r--main/qca/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/main/qca/APKBUILD b/main/qca/APKBUILD
index 11bc0da717..6c6772db49 100644
--- a/main/qca/APKBUILD
+++ b/main/qca/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=qca
pkgver=2.1.3
-pkgrel=0
+pkgrel=1
pkgdesc="Qt cryptographic architecture"
url="http://delta.affinix.com/qca/"
arch="all"
@@ -12,7 +12,7 @@ depends_dev="qt-dev"
makedepends="$depends_dev cmake cyrus-sasl-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
-source="http://download.kde.org/stable/qca/2.1.3/src/qca-${pkgver}.tar.xz"
+source="http://download.kde.org/stable/qca/$pkgver/src/qca-${pkgver}.tar.xz"
builddir="$srcdir"/qca-$pkgver
@@ -27,4 +27,9 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
+check() {
+ cd "$builddir"
+ make test || return 1
+}
+
sha512sums="0aec277e0695da2e45298f0a9006213829fe4c449a79969e472947db54f45000ba6e22361b782465bdc03f269b7301d318c843f5a83db459a118e58a03f3116a qca-2.1.3.tar.xz"