diff options
Diffstat (limited to 'community/kcrash/APKBUILD')
-rw-r--r-- | community/kcrash/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/kcrash/APKBUILD b/community/kcrash/APKBUILD index 06089ca0e0..ac3a56fa47 100644 --- a/community/kcrash/APKBUILD +++ b/community/kcrash/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=kcrash -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Support for application crash analysis and bug report from apps" arch="all" @@ -13,8 +13,15 @@ checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kcrash-$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 \ @@ -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="cf5925dbc3304e7e3e2b8630a1b723250e23ac88b72bb36c79ec8636b45066a1b8cfa379838d85fcfa0b6e2f71852ea931468d502cd238901e3dce102a23496b kcrash-5.62.0.tar.xz" +sha512sums="9847e0c612ffdf535677d9b64abcd4ef4ff6243f2f8dd55911ea390a0ae4e9ddea68e4cad1ee0b86a6fe9f4c5ff5460df1d7006796422ca3490a57ae94531f56 kcrash-5.63.0.tar.xz" |