aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-chess/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:11:11 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:18 +0200
commit7b38b291efeb116c0930c9e28d0e2b040df67ddc (patch)
tree1befafba219395d47d29ebb8aa22cac227400ee5 /community/gnome-chess/APKBUILD
parent20271c10812878e44f713c75ff9efb5d09b36382 (diff)
downloadaports-7b38b291efeb116c0930c9e28d0e2b040df67ddc.tar.gz
aports-7b38b291efeb116c0930c9e28d0e2b040df67ddc.tar.bz2
aports-7b38b291efeb116c0930c9e28d0e2b040df67ddc.tar.xz
community/gnome-chess: use abuild-meson & meson compile/test/install
Diffstat (limited to 'community/gnome-chess/APKBUILD')
-rw-r--r--community/gnome-chess/APKBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/community/gnome-chess/APKBUILD b/community/gnome-chess/APKBUILD
index 0737d3b22d..9d8602f5cf 100644
--- a/community/gnome-chess/APKBUILD
+++ b/community/gnome-chess/APKBUILD
@@ -13,22 +13,16 @@ source="https://download.gnome.org/sources/gnome-chess/${pkgver%.*}/gnome-chess-
subpackages="$pkgname-doc $pkgname-lang"
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="b18eca5172924000a96a8c5356e4be8a1366870ed0ad7eb2137f9180da6b8ab32be6d0850bbb8acb9af2e99ce7294cfe45798f1b0f3cfc55ff428272b162f75d gnome-chess-3.37.3.tar.xz"