aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:11:02 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:12 +0200
commitf90a59613e1c313a5b7ff1f7c0623f99d5b4fbd4 (patch)
tree2c1e55da19d8073c26a597e77ef255ec59e7e3d7
parent94cd0877e4f353295487e91d80b10f41b4a2f1c1 (diff)
downloadaports-f90a59613e1c313a5b7ff1f7c0623f99d5b4fbd4.tar.gz
aports-f90a59613e1c313a5b7ff1f7c0623f99d5b4fbd4.tar.bz2
aports-f90a59613e1c313a5b7ff1f7c0623f99d5b4fbd4.tar.xz
community/geocode-glib: use abuild-meson & meson compile/test/install
-rw-r--r--community/geocode-glib/APKBUILD10
1 files changed, 3 insertions, 7 deletions
diff --git a/community/geocode-glib/APKBUILD b/community/geocode-glib/APKBUILD
index 2b37904991..e60bcb3957 100644
--- a/community/geocode-glib/APKBUILD
+++ b/community/geocode-glib/APKBUILD
@@ -15,17 +15,13 @@ subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/geocode-glib/${pkgver%.*}/geocode-glib-$pkgver.tar.xz"
build() {
- meson \
- --prefix=/usr \
- --buildtype=plain \
- --sysconfdir=/etc \
- -Denable-installed-tests=false \
+ abuild-meson \
build
- ninja -C build
+ meson compile ${JOBS:+-j ${JOBS}} -C build
}
package() {
- DESTDIR="$pkgdir" ninja -C build install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C build
}
sha512sums="b3ef81fac6959f6c4725ca721125cdafbbec69233f321872e17f9035266ed7616018ef54a9082fbd0a83395d18c664144cfe3b431d63744be433f058071cd435 geocode-glib-3.26.2.tar.xz"