aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:12:28 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:39 +0200
commitb4612100cb2f2dda32a75625e1996b504b354658 (patch)
tree9196e542033d8b900c34f2dc596be581cf8cc007
parentf245cc7ca1a2e466fa12c23c07d6d9c39fff9f30 (diff)
downloadaports-b4612100cb2f2dda32a75625e1996b504b354658.tar.gz
aports-b4612100cb2f2dda32a75625e1996b504b354658.tar.bz2
aports-b4612100cb2f2dda32a75625e1996b504b354658.tar.xz
community/libgweather: use abuild-meson & meson compile/test/install
-rw-r--r--community/libgweather/APKBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/community/libgweather/APKBUILD b/community/libgweather/APKBUILD
index bffaff32c5..b520a67bce 100644
--- a/community/libgweather/APKBUILD
+++ b/community/libgweather/APKBUILD
@@ -17,23 +17,19 @@ source="https://download.gnome.org/sources/libgweather/${pkgver%.*}/libgweather-
remove-locale-dependant-test.patch"
build() {
- meson \
- --prefix=/usr \
- --buildtype=plain \
- --sysconfdir=/etc \
- --buildtype=plain \
+ abuild-meson \
-Dgtk_doc=true \
-Denable_vala=true \
. 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
}