aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:12:39 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:41 +0200
commit57f5921f0d5e0c3e91660f2c0b1a7ef4eae7b78f (patch)
treec75c67e28955c91acaee73ce6459e11b10191b49
parentb9360964f2b7231d742731fdb89ae29f49f0cbf6 (diff)
downloadaports-57f5921f0d5e0c3e91660f2c0b1a7ef4eae7b78f.tar.gz
aports-57f5921f0d5e0c3e91660f2c0b1a7ef4eae7b78f.tar.bz2
aports-57f5921f0d5e0c3e91660f2c0b1a7ef4eae7b78f.tar.xz
community/libportal: use abuild-meson & meson compile/test/install
-rw-r--r--community/libportal/APKBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/community/libportal/APKBUILD b/community/libportal/APKBUILD
index 8bbc301f50..0aa9014a1f 100644
--- a/community/libportal/APKBUILD
+++ b/community/libportal/APKBUILD
@@ -12,11 +12,8 @@ subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/flatpak/libportal/archive/$pkgver.tar.gz"
build() {
- meson \
- --prefix=/usr \
- --buildtype=plain \
- . output
- ninja -C output
+ abuild-meson . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
@@ -24,6 +21,6 @@ check() {
}
package() {
- DESTDIR="$pkgdir" ninja -C output install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="eb62d786a9988a39b39d6238bbd420642e7bfc6b879952b6dac8aa407b81ec05ff01f0afda039e385ffa4794905d28edfb37bb77340f67625e252622c7ab2472 libportal-0.3.tar.gz"