diff options
Diffstat (limited to 'community/ktimer')
-rw-r--r-- | community/ktimer/APKBUILD | 32 |
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" |