aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/qca/APKBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/community/qca/APKBUILD b/community/qca/APKBUILD
index bf718bffc0..19f668a277 100644
--- a/community/qca/APKBUILD
+++ b/community/qca/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qca
pkgver=2.3.0
-pkgrel=0
+pkgrel=1
pkgdesc="Qt cryptographic architecture"
url="https://userbase.kde.org/QCA"
arch="all"
@@ -12,20 +12,23 @@ subpackages="$pkgname-dev $pkgname-doc lib$pkgname:libs"
source="https://download.kde.org/stable/qca/$pkgver/qca-$pkgver.tar.xz"
build() {
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_cyrus-sasl_PLUGIN=yes .
- make
+ cmake -B build . \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_cyrus-sasl_PLUGIN=yes
+ make -C build
+}
+
+check() {
+ make -C build test
}
package() {
- make DESTDIR="$pkgdir" install
+ make -C build DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/lib/qt5
mv "$pkgdir"/usr/mkspecs "$pkgdir"/usr/lib/qt5
}
-check() {
- make test
-}
-
libs() {
default_libs
mv "$pkgdir"/usr/lib/qca-qt5 "$subpkgdir"/usr/lib