aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:11:08 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:15 +0200
commit384da8b48505481feff885787e781bc102213d9b (patch)
tree8ba33ffc49f55070c5e1e70699a20e3611807b04
parent0bb7dc707c14d1da789e0216f2b36b05682191f0 (diff)
community/gnome-authenticator: use abuild-meson & meson compile/test/install
-rw-r--r--community/gnome-authenticator/APKBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/community/gnome-authenticator/APKBUILD b/community/gnome-authenticator/APKBUILD
index 4ea34aa4679..39ff5a73f4d 100644
--- a/community/gnome-authenticator/APKBUILD
+++ b/community/gnome-authenticator/APKBUILD
@@ -18,22 +18,16 @@ source="https://gitlab.gnome.org/World/Authenticator/-/archive/$pkgver/Authentic
builddir="$srcdir/Authenticator-$pkgver"
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="3bd78354f4d18052d03650b455f07fb7fa9bb5cba0b6c92dcbfb5158dcf500f0b7f84e0be8942e0fbb74b1cefcd9019941c758538e05144c469bbe47b4355ce0 Authenticator-3.32.2.tar.gz