diff options
Diffstat (limited to 'community/kdesu/APKBUILD')
-rw-r--r-- | community/kdesu/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/kdesu/APKBUILD b/community/kdesu/APKBUILD index 5e54f39401..28fe4e0312 100644 --- a/community/kdesu/APKBUILD +++ b/community/kdesu/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=kdesu -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Integration with su for elevated privileges" arch="all" @@ -15,8 +15,15 @@ subpackages="$pkgname-dev $pkgname-lang" # Since the goal of this library is to elevate privileges, suid being needed should be obvious options="suid" +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 @@ -24,10 +31,12 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="c2fcf0220f38c04aec8cfe68e6411ee0c6ff48d3b9ca32fd3b5c99adeb0b5e467c4242f289786b00c953d394ab3add78291dd8997feacee72f0505bf4e4dc5b9 kdesu-5.62.0.tar.xz" +sha512sums="23d3d20bd54b17d82898f335b75e48b98b46df5198b1458ff575fb0ef6add12bc38b9b92ce2cb166af6d8821c5e600b8ff53bb8dfb3e289bec07468ffd56f885 kdesu-5.63.0.tar.xz" |