aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:12:38 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:41 +0200
commit472eab667e743cd5d7d5753e820f6d6d4fa5b6e7 (patch)
tree326826935b11a414374aabd3e175b7ccb73ec23c
parent9cacb507011dca9609abec197d5bcf07c1ad5dbd (diff)
downloadaports-472eab667e743cd5d7d5753e820f6d6d4fa5b6e7.tar.gz
aports-472eab667e743cd5d7d5753e820f6d6d4fa5b6e7.tar.bz2
aports-472eab667e743cd5d7d5753e820f6d6d4fa5b6e7.tar.xz
community/libpeas: use abuild-meson & meson compile/test/install
-rw-r--r--community/libpeas/APKBUILD11
1 files changed, 3 insertions, 8 deletions
diff --git a/community/libpeas/APKBUILD b/community/libpeas/APKBUILD
index a79a46b36e..f95e38c5b1 100644
--- a/community/libpeas/APKBUILD
+++ b/community/libpeas/APKBUILD
@@ -14,16 +14,11 @@ subpackages="$pkgname-dev $pkgname-python3:py3 $pkgname-lang"
source="https://download.gnome.org/sources/libpeas/${pkgver%.*}/libpeas-$pkgver.tar.xz"
build() {
- meson \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --buildtype=plain \
+ abuild-meson \
-Dvapi=true \
-Ddemos=false \
. output
- ninja -C output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
@@ -31,7 +26,7 @@ check() {
}
package() {
- DESTDIR="$pkgdir" ninja -C output install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
py3() {