diff options
Diffstat (limited to 'community/kcmutils/APKBUILD')
-rw-r--r-- | community/kcmutils/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/kcmutils/APKBUILD b/community/kcmutils/APKBUILD index 6a847ea950..8bbd8c09c4 100644 --- a/community/kcmutils/APKBUILD +++ b/community/kcmutils/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=kcmutils -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Utilities for interacting with KCModules" arch="all" @@ -12,8 +12,15 @@ makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kcmutils-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +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="f5eacd05256a86d60f3496ce684343a0a62ff3bc91abacd2afe30948996b54aa96deb358f5c802f4bc69a2e5cdfb1a690523adec6dc4bd9165f5112232e1f430 kcmutils-5.62.0.tar.xz" +sha512sums="e0a498819e8228cd9769525eb0add66b16bd855bb9de073d997dd93e3cc8db0456bf7a4476ad5c6381bc4a57c7677bc09840947fc9616276d52ab8ed546b40f1 kcmutils-5.63.0.tar.xz" |