aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kcmutils/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-05-31 18:12:37 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-01 17:41:59 +0000
commit7435f331621633fee58b67bd306c95d141f1571a (patch)
tree1ef942dc08da28a0facb789037830cc1d3b4d3a6 /testing/kcmutils/APKBUILD
parent2403abccbcec681068be1dd800cb77cda12f0b2a (diff)
downloadaports-7435f331621633fee58b67bd306c95d141f1571a.tar.gz
aports-7435f331621633fee58b67bd306c95d141f1571a.tar.bz2
aports-7435f331621633fee58b67bd306c95d141f1571a.tar.xz
testing/kcmutils: new aport
Closes GH-8328
Diffstat (limited to 'testing/kcmutils/APKBUILD')
-rw-r--r--testing/kcmutils/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kcmutils/APKBUILD b/testing/kcmutils/APKBUILD
new file mode 100644
index 0000000000..1022484a1b
--- /dev/null
+++ b/testing/kcmutils/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kcmutils
+pkgver=5.58.0
+pkgrel=0
+pkgdesc="Utilities for interacting with KCModules"
+arch="all"
+url="https://community.kde.org/Frameworks"
+license="LGPL-2.1-only AND LGPL-2.1-or-later"
+depends_dev="kitemviews-dev kconfigwidgets-dev kcoreaddons-dev ki18n-dev kiconthemes-dev kservice-dev kxmlgui-dev kdeclarative-dev"
+makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_QCH=ON
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="261b75340fddecc4845622111b9cb00a2f85386e3912c794e4fbb8381e1b67062d1f6b069ad08874e6d37571fc62265f3a1598f2e4ed0a8552582d6e28afac0a kcmutils-5.58.0.tar.xz"