aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-12 19:49:25 +0200
committerAriadne Conill <ariadne@dereferenced.org>2020-04-12 23:39:53 +0000
commita3e2f4f10e90d9177e17e178b7cdab2f23ca4fdf (patch)
tree418a5e0c01605d6674d78e90ada17ecef91866c5 /community
parent0f19530372e0808d5f8c8b4e4e341f7bb4ac0514 (diff)
downloadaports-a3e2f4f10e90d9177e17e178b7cdab2f23ca4fdf.tar.bz2
aports-a3e2f4f10e90d9177e17e178b7cdab2f23ca4fdf.tar.xz
community/ktimer: move from testing
Diffstat (limited to 'community')
-rw-r--r--community/ktimer/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/ktimer/APKBUILD b/community/ktimer/APKBUILD
new file mode 100644
index 0000000000..fe12b05027
--- /dev/null
+++ b/community/ktimer/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=ktimer
+pkgver=19.12.3
+pkgrel=0
+arch="all !armhf"
+url="https://kde.org/applications/utilities/org.kde.ktimer"
+pkgdesc="A little tool to execute programs after some time"
+license="GPL-2.0-or-later"
+makedepends="extra-cmake-modules qt5-qtbase-dev kdoctools-dev ki18n-dev kwidgetsaddons-dev kio-dev kdbusaddons-dev knotifications-dev kconfig-dev"
+source="https://download.kde.org/stable/release-service/$pkgver/src/ktimer-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+options="!check" # No tests
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make -C build
+}
+
+check() {
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make -C build install
+}
+
+sha512sums="da075774292f911cdfbc28d3ce76b53cf6e9c3a91ff42c8b18334e8c680a87d08e3f22faf9b646342a7318c7096ed14de740e9e3558a71aed6ca7449b6d11358 ktimer-19.12.3.tar.xz"