aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kjobwidgets
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-05-28 21:35:26 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-29 18:58:33 +0000
commit39afe3b2bb09e37cf96bba85ebdb30eb49b2c28e (patch)
tree08597372176febb9815b96ae5b7e502be5878be8 /testing/kjobwidgets
parentd04c43de966914872cb6d9ddc7b0cdd96f34a7b5 (diff)
downloadaports-39afe3b2bb09e37cf96bba85ebdb30eb49b2c28e.tar.bz2
aports-39afe3b2bb09e37cf96bba85ebdb30eb49b2c28e.tar.xz
testing/kjobwidgets: new aport
Closes GH-8204
Diffstat (limited to 'testing/kjobwidgets')
-rw-r--r--testing/kjobwidgets/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kjobwidgets/APKBUILD b/testing/kjobwidgets/APKBUILD
new file mode 100644
index 0000000000..b0b04fa2c8
--- /dev/null
+++ b/testing/kjobwidgets/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kjobwidgets
+pkgver=5.58.0
+pkgrel=0
+pkgdesc="Widgets for tracking KJob instances"
+arch="all"
+url="https://community.kde.org/Frameworks"
+license="LGPL-2.1-only AND (LGPL-2.1-only OR LGPL-3.0-only)"
+depends_dev="qt5-qtx11extras-dev kcoreaddons-dev kwidgetsaddons-dev"
+makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen"
+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="e753041daf75c00a9d7980b3fdc68faf818c804b339580cb186685e89506b50e148bfe213ebced6e888004761d78ca168d8c0555df22cb491d6b3550f7f81a96 kjobwidgets-5.58.0.tar.xz"