aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:11:14 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:21 +0200
commitf2fb662484f0a96fe9cf3585b23d94e3e3ad1b54 (patch)
treef07ead689dc1495b58c28212d9ec90e20b7255c0
parent76df3ab8c228ca0300a9445795539c8e7557d12f (diff)
downloadaports-f2fb662484f0a96fe9cf3585b23d94e3e3ad1b54.tar.gz
aports-f2fb662484f0a96fe9cf3585b23d94e3e3ad1b54.tar.bz2
aports-f2fb662484f0a96fe9cf3585b23d94e3e3ad1b54.tar.xz
community/gnome-font-viewer: use abuild-meson & meson compile/test/install
-rw-r--r--community/gnome-font-viewer/APKBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/community/gnome-font-viewer/APKBUILD b/community/gnome-font-viewer/APKBUILD
index 1df929146e..a94728387b 100644
--- a/community/gnome-font-viewer/APKBUILD
+++ b/community/gnome-font-viewer/APKBUILD
@@ -14,18 +14,12 @@ subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-font-viewer/${pkgver%.*}/gnome-font-viewer-$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="1be6230da5ff47a129db43b5f5467d3fed8925fad7a6637f24d72c8c99c80d8dd1635eaef1b7c7f650a86132a54cde8326d3418075f5818d0154dc8d503927c7 gnome-font-viewer-3.34.0.tar.xz"