diff options
Diffstat (limited to 'community/kglobalaccel/APKBUILD')
-rw-r--r-- | community/kglobalaccel/APKBUILD | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/community/kglobalaccel/APKBUILD b/community/kglobalaccel/APKBUILD index aecf0b41ea..311878db3f 100644 --- a/community/kglobalaccel/APKBUILD +++ b/community/kglobalaccel/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=kglobalaccel -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Add support for global workspace shortcuts" arch="all" @@ -12,9 +12,15 @@ makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev xcb-util-k checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kglobalaccel-$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 +29,12 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="ba9227ed21f1bcf3b22464fd146e62bb2b4ea345083c8abd0452a2a52179bcb53e56fc89ad1d4b0e05f48baa7c0ae44e7522032831941b2cb31774f4e2c83e37 kglobalaccel-5.62.0.tar.xz" +sha512sums="7ca1845a9dadd5a1a562d61ae997aafd7c31643ac2ecea55e697f1b2cb32d82c40c832a5550cd3d592f2eca7e68cd56af30db346b774b54b2b58a4fd578a8d98 kglobalaccel-5.63.0.tar.xz" |