aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kcron/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-25 12:09:42 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-25 10:50:33 -0300
commitb8c67d3a0755906cd98de8a06934a81dd5d6d7b1 (patch)
treec79d157276b2e8bb2c172337c11b0820ef5aa343 /testing/kcron/APKBUILD
parent47d088aa40b0c91b5848bad3aa34dce818347c1d (diff)
downloadaports-b8c67d3a0755906cd98de8a06934a81dd5d6d7b1.tar.bz2
aports-b8c67d3a0755906cd98de8a06934a81dd5d6d7b1.tar.xz
testing/kcron: new aport
Diffstat (limited to 'testing/kcron/APKBUILD')
-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"