From a3e2f4f10e90d9177e17e178b7cdab2f23ca4fdf Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Sun, 12 Apr 2020 19:49:25 +0200 Subject: community/ktimer: move from testing --- community/ktimer/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 community/ktimer/APKBUILD (limited to 'community') 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 +# Maintainer: Bart Ribbers +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" -- cgit v1.2.3