aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:15:48 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:50 +0200
commit048fcf4d8cee529dd8ba77aff33df8c633b924e1 (patch)
treecd4f0b486c297e16583fd2e6f8b0cdefc3c7d448
parentb42fb2fd110d3dc012b4bcb6f7e8744367384026 (diff)
downloadaports-048fcf4d8cee529dd8ba77aff33df8c633b924e1.tar.gz
aports-048fcf4d8cee529dd8ba77aff33df8c633b924e1.tar.bz2
aports-048fcf4d8cee529dd8ba77aff33df8c633b924e1.tar.xz
community/template-glib: use abuild-meson & meson compile/test/install
-rw-r--r--community/template-glib/APKBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/community/template-glib/APKBUILD b/community/template-glib/APKBUILD
index b4fd410652..2b346345f6 100644
--- a/community/template-glib/APKBUILD
+++ b/community/template-glib/APKBUILD
@@ -12,22 +12,16 @@ subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/template-glib/${pkgver%.*}/template-glib-$pkgver.tar.xz"
build() {
- meson \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --buildtype=plain \
- . output
- ninja -C output
+ abuild-meson . 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="b89cc9890fd80a6858b34139ce1cd2394a43f598629e59f224f4db798a17457be9a2aa8307828af3591108ed6e9a953936a74df15ed1c8c8af2100306db5a497 template-glib-3.34.0.tar.xz"