aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 11:34:58 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:38:25 +0200
commitf87e34c5105a3e8e70df52390560c0eb2d75a657 (patch)
tree6898a48e6ff21005220b47884b2b7108004a70ec
parenta6d695c3f50fc82a93a9816a9c16e5284bf54c23 (diff)
downloadaports-f87e34c5105a3e8e70df52390560c0eb2d75a657.tar.gz
aports-f87e34c5105a3e8e70df52390560c0eb2d75a657.tar.bz2
aports-f87e34c5105a3e8e70df52390560c0eb2d75a657.tar.xz
main/xorgproto: use abuild-meson & meson compile/test/install
-rw-r--r--main/xorgproto/APKBUILD13
1 files changed, 3 insertions, 10 deletions
diff --git a/main/xorgproto/APKBUILD b/main/xorgproto/APKBUILD
index 44f6b36be3..9beb498f03 100644
--- a/main/xorgproto/APKBUILD
+++ b/main/xorgproto/APKBUILD
@@ -45,22 +45,15 @@ provides="bigreqsproto=$pkgver-r$pkgrel
source="https://xorg.freedesktop.org/archive/individual/proto/xorgproto-$pkgver.tar.bz2"
build() {
- cd "$builddir"
- meson \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --buildtype=plain \
+ abuild-meson \
--datadir=/usr/lib \
-Dlegacy=true \
. output
- ninja -C output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
}
package() {
- cd "$builddir"
- DESTDIR="$pkgdir" ninja -C output install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
# cleanup
rm -f "$pkgdir"/usr/include/X11/extensions/apple*