aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:12:00 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:35 +0200
commite357fc528a7b7bc202cfd141f7df61ce88335ddd (patch)
treec4ca78e027f28d73fe51e76c50cf4d186d4f5a28
parent51182e140d54a0c1968ab0d9be7a098461c866b5 (diff)
downloadaports-e357fc528a7b7bc202cfd141f7df61ce88335ddd.tar.gz
aports-e357fc528a7b7bc202cfd141f7df61ce88335ddd.tar.bz2
aports-e357fc528a7b7bc202cfd141f7df61ce88335ddd.tar.xz
community/kgx: use abuild-meson & meson compile/test/install
-rw-r--r--community/kgx/APKBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/community/kgx/APKBUILD b/community/kgx/APKBUILD
index ede0e5e81e..a82bec1895 100644
--- a/community/kgx/APKBUILD
+++ b/community/kgx/APKBUILD
@@ -15,26 +15,22 @@ subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/ZanderBrown/kgx/-/archive/$pkgver/kgx-$pkgver.tar.gz"
build() {
- meson \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --buildtype=plain \
+ abuild-meson \
-Dgtop=true \
-Dgtk_doc=false \
-Dgir=false \
-Dgeneric=true \
-Dtests=false \
. output
- ninja -C output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
- ninja -C output test
+ meson test --no-rebuild -v -C output
}
package() {
- DESTDIR="$pkgdir" ninja -C output install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="f1d19661472cec0f8cab30ba38608d5d7029f56d85bd99b315c841ae859059ef8ab90add0c530dcc3d95ba00e67bbb9127e537ceea5165c5e47c382a15445502 kgx-0.2.1.tar.gz"