# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kteatime pkgver=19.12.0 pkgrel=0 arch="all" url="https://kde.org/applications/utilities/org.kde.kteatime" pkgdesc="A handy timer for steeping tea" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev kconfig-dev kcrash-dev kdoctools-dev ki18n-dev kiconthemes-dev knotifyconfig-dev knotifications-dev ktextwidgets-dev kxmlgui-dev kconfig-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # No tests build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { local skip_tests="" if [ "$CARCH" = "armv7" ]; then skip_tests="kgpg-import" # Broken fi CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "$skip_tests" } package() { DESTDIR="$pkgdir" make install } sha512sums="9bdedbbd6d161cf3b611b3edb39a0a51f1f23e025bbcee4860a4498f2240c8df594a58a1c586152b139673101714217a48fb61c52cd7cbbefeadd6906e67631d kteatime-19.12.0.tar.xz"