aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-18 22:08:00 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-24 11:46:41 +0000
commit466d105b8020dd27c0160a36a0ca5c248482dac6 (patch)
tree0b1d6327ed0c6807fbd8b33a6a45db283809bd0b
parent54d85ddec398f4cbf92e10f6fd145021597bb3e2 (diff)
downloadaports-466d105b8020dd27c0160a36a0ca5c248482dac6.tar.gz
aports-466d105b8020dd27c0160a36a0ca5c248482dac6.tar.bz2
aports-466d105b8020dd27c0160a36a0ca5c248482dac6.tar.xz
community/choqok: move from testing
-rw-r--r--community/choqok/APKBUILD (renamed from testing/choqok/APKBUILD)10
1 files changed, 3 insertions, 7 deletions
diff --git a/testing/choqok/APKBUILD b/community/choqok/APKBUILD
index abb730263d..ca9d35d9d8 100644
--- a/testing/choqok/APKBUILD
+++ b/community/choqok/APKBUILD
@@ -16,15 +16,11 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.kde.org/stable/choqok/${pkgver%.*}/src/choqok-$pkgver.tar.xz"
build() {
- if [ "$CBUILD" != "$CHOST" ]; then
- CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
- fi
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- $CMAKE_CROSSOPTS .
- make -C build
+ -DCMAKE_INSTALL_LIBDIR=lib
+ cmake --build build
}
check() {
@@ -33,7 +29,7 @@ check() {
}
package() {
- DESTDIR="$pkgdir" make -C build install
+ DESTDIR="$pkgdir" cmake --build build --target install
mkdir -p "$pkgdir"/usr/lib
mv "$pkgdir"/usr/share/cmake "$pkgdir"/usr/lib