aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:12:37 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:40 +0200
commitd9beb1acc7c5b90d9b9f15f706c585f6bc0b88f3 (patch)
tree924a24aa06e23af4cdb8ef081c28cd3b3ba9196f
parent05cd07b14a9f56952fa74f680f72756a880996da (diff)
downloadaports-d9beb1acc7c5b90d9b9f15f706c585f6bc0b88f3.tar.gz
aports-d9beb1acc7c5b90d9b9f15f706c585f6bc0b88f3.tar.bz2
aports-d9beb1acc7c5b90d9b9f15f706c585f6bc0b88f3.tar.xz
community/libnotify: use abuild-meson & meson compile/test/install
-rw-r--r--community/libnotify/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/community/libnotify/APKBUILD b/community/libnotify/APKBUILD
index a40214e932..57e10729ee 100644
--- a/community/libnotify/APKBUILD
+++ b/community/libnotify/APKBUILD
@@ -13,22 +13,20 @@ subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/libnotify/${pkgver%.*}/libnotify-$pkgver.tar.xz"
build() {
- meson \
- --prefix=/usr \
- --buildtype=plain \
+ abuild-meson \
-Dtests=true \
-Dintrospection=enabled \
-Dgtk_doc=false \
-Dman=false \
output
- ninja -C 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="8a842b50777279efdb7d96a836a546c47decad158a4f03f7ffc818860d1f6276a657619e4f4a19a4e2f5ad55e0371c793420d50d802983700e8c342273b73874 libnotify-0.7.9.tar.xz"