aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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