aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/kcron/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/kcron/APKBUILD b/testing/kcron/APKBUILD
new file mode 100644
index 0000000000..ae51b47864
--- /dev/null
+++ b/testing/kcron/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kcron
+pkgver=19.04.2
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/system/"
+pkgdesc="Configure and schedule tasks"
+license="GPL-2.0-or-later"
+makedepends="extra-cmake-modules qt5-qtbase-dev kconfigwidgets-dev kdoctools-dev ki18n-dev kiconthemes-dev kio-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+
+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="64414a0a5088709855cd8b990d2602169b229feba0b5b4169244dff9b97fbcbdea67639c3c2842aaff439bb8a72c0590eff4ea05d9bb64e958fbdc1af48f6f41 kcron-19.04.2.tar.xz"