aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-05-31 18:09:19 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-01 17:41:59 +0000
commit2403abccbcec681068be1dd800cb77cda12f0b2a (patch)
treedbb3c4366e6dccc44b03cfcf8f60b2ba695d24a7
parentaa0e509d8fd5e9b15a5c7329f0718ba397e472b7 (diff)
downloadaports-2403abccbcec681068be1dd800cb77cda12f0b2a.tar.bz2
aports-2403abccbcec681068be1dd800cb77cda12f0b2a.tar.xz
testing/purpose: new aport
Closes GH-8328
-rw-r--r--testing/purpose/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/purpose/APKBUILD b/testing/purpose/APKBUILD
new file mode 100644
index 0000000000..98fcec3298
--- /dev/null
+++ b/testing/purpose/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=purpose
+pkgver=5.58.0
+pkgrel=0
+pkgdesc="Framework for providing abstractions to get the developer's purposes fulfilled"
+arch="all"
+url="https://community.kde.org/Frameworks"
+license="LGPL-2.1"
+depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev ki18n-dev kconfig-dev kio-dev"
+makedepends="$depends_dev extra-cmake-modules"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-lang"
+options="!check" # Requires running X11
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=ON
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="41a7c99b012c892680d786ce8f0aa982b79e814763847f86884e4c5a5f36bd925dd8f916b92f5786deafb6f22a5aa5af5bc39c1b73efdc9c58a6b9aab16ae026 purpose-5.58.0.tar.xz"