aboutsummaryrefslogtreecommitdiffstats
path: root/community/ktimer/APKBUILD
blob: 9753ab90352de1bbf9c8a007547f61967fbacc14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=ktimer
pkgver=20.12.1
pkgrel=0
arch="all !armhf !s390x !mips64"
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
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="2922a4f23baded27e2646f77812e405588b145328ce5808ea66bfdde083e730497c66e15c223649c3a2524b739edceb0b21a9759a24324903de2506325528318  ktimer-20.12.1.tar.xz"