diff options
Diffstat (limited to 'community/kidletime/APKBUILD')
-rw-r--r-- | community/kidletime/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/kidletime/APKBUILD b/community/kidletime/APKBUILD index b81be2a65b..bd852d50cd 100644 --- a/community/kidletime/APKBUILD +++ b/community/kidletime/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=kidletime -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Monitoring user activity" arch="all" @@ -12,8 +12,15 @@ makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kidletime-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" +prepare() { + default_prepare + + mkdir "$builddir"/build +} + build() { - cmake \ + cd "$builddir"/build + cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ @@ -22,10 +29,12 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="41de6cd0d6201c7affa1347d5b9af2cdb0e61666c901c8d005bc078b6e064072df32d5d6a89958c58d33bc092268da51cfc4a6d822c29bdd58dea2d0d2e15fa9 kidletime-5.62.0.tar.xz" +sha512sums="2aae47fdb12ee5048b0e35f57490c8c29815104b35c67055febbd57baa61cc5617421141d4d88513109120c34ee9b8664bcaca629c3078728fb822cecfb385c0 kidletime-5.63.0.tar.xz" |