aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kde-dev-utils/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kde-dev-utils/APKBUILD')
-rw-r--r--testing/kde-dev-utils/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kde-dev-utils/APKBUILD b/testing/kde-dev-utils/APKBUILD
new file mode 100644
index 0000000000..1e6b4ce397
--- /dev/null
+++ b/testing/kde-dev-utils/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kde-dev-utils
+pkgver=19.04.3
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/development/"
+pkgdesc="Small utilities for developers using KDE/Qt libs/frameworks"
+license="(LGPL-2.0-only OR LGPL-3.0-only) AND GPL-2.0-or-later"
+makedepends="extra-cmake-modules qt5-qttools-dev ki18n-dev kcoreaddons-dev kparts-dev kwidgetsaddons-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-lang"
+options="!check" # No tests
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="df6a8001823a0dc1afbd35f6e1d8c0ed5552b68214564b5a5be97801d91f2a989b6f72231dc3aba327006cfe940d09489b4597187376b2413950648c6a6a7598 kde-dev-utils-19.04.3.tar.xz"