diff --git a/testing/okteta/APKBUILD b/testing/okteta/APKBUILD index abc22a81154822392ca6a396954120fe7f9ffe95..b1eeaccb4f415a5578cc5954beb57256edc4423f 100644 --- a/testing/okteta/APKBUILD +++ b/testing/okteta/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=okteta -pkgver=0.26.2 -pkgrel=1 +pkgver=0.26.3 +pkgrel=0 arch="all !armhf" # armhf blocked by qt5-qtdeclarative url="https://kde.org/applications/utilities/org.kde.okteta" pkgdesc="KDE hex editor for viewing and editing the raw data of files" @@ -13,20 +13,21 @@ source="https://download.kde.org/stable/okteta/$pkgver/src/okteta-$pkgver.tar.xz subpackages="$pkgname-doc $pkgname-lang" build() { - cmake \ + cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_DESKTOPPROGRAM=ON - make + make -C build } check() { + cd build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { - DESTDIR="$pkgdir" make install + DESTDIR="$pkgdir" make -C build install } -sha512sums="9d79cfecf80a7bfd4eb42ac8ee93d83140064601c16be0bed38481f7f0ea8ed2fa0aedfd16be3547f2bbd65ab483281e0ecdc0e59799040d67ecf1b4cda39246 okteta-0.26.2.tar.xz" +sha512sums="345e6ebb339a046e66e0d5b056ee487d881afa21d1ed29db2fb213200e431ba6936b1bf75a49733c14c96bdbee2482ed860257b0666b19f701c5ad0fd57e58c6 okteta-0.26.3.tar.xz"