aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-tweaks/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:11:22 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:28 +0200
commit86317047d537e267e36e45208f8f79354a37a595 (patch)
tree24821af941bff39295863a6924fc8bb940803c2f /community/gnome-tweaks/APKBUILD
parentc0f936cd756581549b7fd4941262fc881eb28623 (diff)
downloadaports-86317047d537e267e36e45208f8f79354a37a595.tar.gz
aports-86317047d537e267e36e45208f8f79354a37a595.tar.bz2
aports-86317047d537e267e36e45208f8f79354a37a595.tar.xz
community/gnome-tweaks: use abuild-meson & meson compile/test/install
Diffstat (limited to 'community/gnome-tweaks/APKBUILD')
-rw-r--r--community/gnome-tweaks/APKBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/community/gnome-tweaks/APKBUILD b/community/gnome-tweaks/APKBUILD
index 1c13118ae1..a6e5425350 100644
--- a/community/gnome-tweaks/APKBUILD
+++ b/community/gnome-tweaks/APKBUILD
@@ -14,22 +14,16 @@ subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-tweaks/${pkgver%.*}/gnome-tweaks-$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
}
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="1d2b21a31550d4b48afd02a9fcfb9844eacac7aa726ef624abcb40225af31da29b34e9032b3bb2943e5cb5f7553a6f931467d04bfbc2b026732e6bdcb86eb840 gnome-tweaks-3.34.0.tar.xz"