diff options
Diffstat (limited to 'community/kguiaddons/APKBUILD')
-rw-r--r-- | community/kguiaddons/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/kguiaddons/APKBUILD b/community/kguiaddons/APKBUILD index 3dcca9e54f..2506f40009 100644 --- a/community/kguiaddons/APKBUILD +++ b/community/kguiaddons/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=kguiaddons -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Addons to QtGui" arch="all" @@ -12,8 +12,15 @@ checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kguiaddons-$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,12 +29,14 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="0a45ed106e04f14b42efc17c3f737d8ead0bc0b7663d077059f77f6494389c1c1e947663fa0d622218297e49260bbc878fa779dd2adc25c04bd813ac7354ae35 kguiaddons-5.62.0.tar.xz" +sha512sums="1895017e7daf78de86abe014b0d296c5d58815dc5835fc7e2e81af17b0a0846f8b2f0f099c9789cec96c1eb069abf476b089f735e3e6f18ac8b9828061cc17d0 kguiaddons-5.63.0.tar.xz" |