diff options
Diffstat (limited to 'community/kwidgetsaddons/APKBUILD')
-rw-r--r-- | community/kwidgetsaddons/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/kwidgetsaddons/APKBUILD b/community/kwidgetsaddons/APKBUILD index aa2df68307..b403863346 100644 --- a/community/kwidgetsaddons/APKBUILD +++ b/community/kwidgetsaddons/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=kwidgetsaddons -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Addons to QtWidgets" arch="all" @@ -13,8 +13,15 @@ checkdepends="xvfb-run mesa-dri-swrast" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kwidgetsaddons-$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 \ @@ -23,11 +30,13 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E 'ktooltipwidgettest' } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="14b1f74e85e198f177ed5ddf0d9bed60c6e8402e2d93fe1b54f65c54f948cc912f9b75974e78bb1facea7a27927f7720b0f5140b96376147cd48fd4a3eff1076 kwidgetsaddons-5.62.0.tar.xz" +sha512sums="cf3581f5175ad106a521716489070fddd0b95646a6a5fb9806a5473d7c22bb572eae416ac8dc6598b304a3f7768d8c98bb9ae4667dbe76ae5edba61401ec4636 kwidgetsaddons-5.63.0.tar.xz" |