aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-control-center/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:11:12 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:19 +0200
commit048534065f0f38f16ee791e6c2716ffea9fa254b (patch)
tree6dbd50e90be8e2e6376767b807c04921176a1980 /community/gnome-control-center/APKBUILD
parent016fdb89dd034893ea8d3eb9e559fa1e73933769 (diff)
downloadaports-048534065f0f38f16ee791e6c2716ffea9fa254b.tar.gz
aports-048534065f0f38f16ee791e6c2716ffea9fa254b.tar.bz2
aports-048534065f0f38f16ee791e6c2716ffea9fa254b.tar.xz
community/gnome-control-center: use abuild-meson & meson compile/test/install
Diffstat (limited to 'community/gnome-control-center/APKBUILD')
-rw-r--r--community/gnome-control-center/APKBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/community/gnome-control-center/APKBUILD b/community/gnome-control-center/APKBUILD
index cfaa8ef5fe..d749463690 100644
--- a/community/gnome-control-center/APKBUILD
+++ b/community/gnome-control-center/APKBUILD
@@ -50,12 +50,7 @@ source="https://download.gnome.org/sources/gnome-control-center/${pkgver%.*}/gno
"
build() {
- meson \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --buildtype=plain \
+ abuild-meson \
-Dcheese=true \
-Dibus=true \
. output
@@ -64,15 +59,15 @@ build() {
ninja -C output panels/network/cc-network-resources.c
ninja -C output panels/network/cc-network-resources.h
- 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
mkdir -p "$pkgdir"/usr/lib
mv "$pkgdir"/usr/share/pkgconfig/* "$pkgdir"/usr/lib