aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-18 21:56:09 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-24 11:46:41 +0000
commit9b2843e174772cc62b6273e2620a59e9ba83af37 (patch)
tree22654600d66459a03af4f6a149378d55de302983
parentf48b9a328f0ba86520484da0b589397203b75870 (diff)
downloadaports-9b2843e174772cc62b6273e2620a59e9ba83af37.tar.gz
aports-9b2843e174772cc62b6273e2620a59e9ba83af37.tar.bz2
aports-9b2843e174772cc62b6273e2620a59e9ba83af37.tar.xz
community/zanshin: move from testing
-rw-r--r--community/zanshin/APKBUILD (renamed from testing/zanshin/APKBUILD)16
1 files changed, 4 insertions, 12 deletions
diff --git a/testing/zanshin/APKBUILD b/community/zanshin/APKBUILD
index 660d8837e8..df82a88f28 100644
--- a/testing/zanshin/APKBUILD
+++ b/community/zanshin/APKBUILD
@@ -14,19 +14,12 @@ checkdepends="xvfb-run dbus"
source="https://download.kde.org/stable/zanshin/zanshin-$pkgver.tar.xz"
subpackages="$pkgname-lang"
-prepare() {
- default_prepare
-
- mkdir "$builddir"/build
-}
-
build() {
- cd "$builddir"/build
- cmake "$builddir" \
+ cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
- make
+ cmake --build build
}
check() {
@@ -47,13 +40,12 @@ check() {
skipped_tests="$skipped_tests|$test"
done
skipped_tests="$skipped_tests)"
- cd "$builddir"/build
+ cd build
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "$skipped_tests"
}
package() {
- cd "$builddir"/build
- DESTDIR="$pkgdir" make install
+ DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="47b4fa8797dd50372dcf176198e1c80348cd1ba604d1ed61cd973956e54ba5551caea33c766d857bc3ad598bd0eae9882ffc315e13e6e3b9c1033d01c8e029d8 zanshin-0.5.71.tar.xz"