aboutsummaryrefslogtreecommitdiffstats
path: root/community/calls/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:10:22 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:02 +0200
commit35a674783a4cc451d21b87509ffed48a37776d7a (patch)
treeedd4ec2cc11b13cc06fbc02c049f35286e13a82c /community/calls/APKBUILD
parent2f1b5c52c81269b403f68a8132ae6ec97e5c346f (diff)
downloadaports-35a674783a4cc451d21b87509ffed48a37776d7a.tar.gz
aports-35a674783a4cc451d21b87509ffed48a37776d7a.tar.bz2
aports-35a674783a4cc451d21b87509ffed48a37776d7a.tar.xz
community/calls: use abuild-meson & meson compile/test/install
Diffstat (limited to 'community/calls/APKBUILD')
-rw-r--r--community/calls/APKBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/community/calls/APKBUILD b/community/calls/APKBUILD
index 241b373315..7fc1b525cd 100644
--- a/community/calls/APKBUILD
+++ b/community/calls/APKBUILD
@@ -17,21 +17,15 @@ options="!check" # Requires running Wayland compositor
builddir="$srcdir/$pkgname-v$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="15b463de14f89c80fe95579517f8b00575f245586c6fff81374000cd7ce6becf03e632cde15a0a78e0848b04f73381ecb61c69d543990c243a5992bf5d269a01 calls-v0.1.7.tar.gz"