aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:11:11 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:18 +0200
commit20271c10812878e44f713c75ff9efb5d09b36382 (patch)
treea05112c01f8190c3786caf953aacc539b2a647f5
parentf20f6de68fabaa75c418a935f6f6a2c26f1a4051 (diff)
community/gnome-characters: use abuild-meson & meson compile/test/install
-rw-r--r--community/gnome-characters/APKBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/community/gnome-characters/APKBUILD b/community/gnome-characters/APKBUILD
index b19d3f6c64f..53d6280ac24 100644
--- a/community/gnome-characters/APKBUILD
+++ b/community/gnome-characters/APKBUILD
@@ -13,18 +13,12 @@ subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-characters/${pkgver%.*}/gnome-characters-$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
}
package() {
- DESTDIR="$pkgdir" ninja -C output install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="4dc2f0027c7079034d50c2743607391a0e529bcaf4f8fdd495b05aa776027609a43686f4621bcf30f09a29fa6f4d5fba6ed6166e51ab66f03dedf3032bc65632 gnome-characters-3.34.0.tar.xz"