aboutsummaryrefslogtreecommitdiffstats
path: root/community/gucharmap/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:11:33 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:34 +0200
commit6f123fe40cd36bc76a644147bebe889ef33e3afd (patch)
tree36a7a75046efb80b6ce8542db736ea7be13d8b76 /community/gucharmap/APKBUILD
parent70a90277444d40b4c616c912231e53209a4ca0f6 (diff)
downloadaports-6f123fe40cd36bc76a644147bebe889ef33e3afd.tar.gz
aports-6f123fe40cd36bc76a644147bebe889ef33e3afd.tar.bz2
aports-6f123fe40cd36bc76a644147bebe889ef33e3afd.tar.xz
community/gucharmap: use abuild-meson & meson compile/test/install
Diffstat (limited to 'community/gucharmap/APKBUILD')
-rw-r--r--community/gucharmap/APKBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/community/gucharmap/APKBUILD b/community/gucharmap/APKBUILD
index 5816b1852b..8216c87a7f 100644
--- a/community/gucharmap/APKBUILD
+++ b/community/gucharmap/APKBUILD
@@ -15,24 +15,19 @@ source="https://gitlab.gnome.org/GNOME/gucharmap/-/archive/$pkgver/gucharmap-$pk
build() {
# Disable docs due to https://github.com/mesonbuild/meson/issues/5843
- meson \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --buildtype=plain \
+ abuild-meson \
-Ducd_path=/usr/share/unicode \
-Ddocs=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="66918666607190f6a364b4709fbd51a08ada29986b549ae779452ec98eb4944d0969ad593296ac84cac8dc4791d718dd522add6cf475116765426505647971a9 gucharmap-13.0.2.tar.gz"