diff options
Diffstat (limited to 'community/kconfigwidgets')
-rw-r--r-- | community/kconfigwidgets/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/kconfigwidgets/APKBUILD b/community/kconfigwidgets/APKBUILD index e394c5715d..8efdf8cb35 100644 --- a/community/kconfigwidgets/APKBUILD +++ b/community/kconfigwidgets/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=kconfigwidgets -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Widgets for KConfig" arch="all" @@ -13,8 +13,15 @@ checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kconfigwidgets-$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,10 +30,12 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="4442ab8623a812e013684e7932b2442f81ebe6d5f3cc3f8a66000b5fbfcf5ae1e7c0c657aa5ccd59b287ef4ce7b6ce3e20b1991fddc0259f8dbdb6e1898a9cff kconfigwidgets-5.62.0.tar.xz" +sha512sums="841cd5991cfb83fa20bf8a7e22d21297ea0baf1b095f2ff9a751fe28d9256c7e52911da30b330c23e3b01b3d3e1e3fcfc43e925dd90c1118db853604647ef263 kconfigwidgets-5.63.0.tar.xz" |