aboutsummaryrefslogtreecommitdiffstats
path: root/community/kasync
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-08-25 13:16:11 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-08-25 14:31:02 +0000
commit5bb0b59afa33879cbf5dbea98979b6db79170ddc (patch)
tree861aaada03f22ea906cd1c397868f41d3f0fa9c9 /community/kasync
parenteb05f0e402c20bf20b7c7d50da772eef00a15b7f (diff)
downloadaports-5bb0b59afa33879cbf5dbea98979b6db79170ddc.tar.gz
aports-5bb0b59afa33879cbf5dbea98979b6db79170ddc.tar.bz2
aports-5bb0b59afa33879cbf5dbea98979b6db79170ddc.tar.xz
community/kasync: move from testing
Diffstat (limited to 'community/kasync')
-rw-r--r--community/kasync/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/kasync/APKBUILD b/community/kasync/APKBUILD
new file mode 100644
index 0000000000..233c71d400
--- /dev/null
+++ b/community/kasync/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kasync
+pkgver=0.3.0
+pkgrel=0
+pkgdesc="C++ library for controlling asynchronous tasks"
+arch="all !armhf" # qtdeclarative
+url="https://community.kde.org/KDE_PIM"
+license="LGPL-2.0-or-later AND GPL-2.0-or-later"
+depends_dev="qt5-qtbase-dev"
+makedepends="$depends_dev extra-cmake-modules"
+source="https://download.kde.org/unstable/kasync/$pkgver/src/kasync-$pkgver.tar.xz"
+subpackages="$pkgname-dev"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ cmake --build build
+}
+
+check() {
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+}
+sha512sums="a521862bafdff2931a3f01ef4393c6ae8f3c4655bb58dc2ddb4fde5f443d67b1a23d0c21491b2099ad6dae53d8894588b49299c45d334956b36ccedf94b17f9d kasync-0.3.0.tar.xz"