From 28bf72ab2f2c96f39ce91006cb38fa8072073f2e Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Tue, 1 Sep 2020 00:20:40 +0200 Subject: [PATCH] testing/libdparse: use abuild-meson & meson compile/test/install --- testing/libdparse/APKBUILD | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/testing/libdparse/APKBUILD b/testing/libdparse/APKBUILD index c5c596047b7..ec406c8e0a4 100644 --- a/testing/libdparse/APKBUILD +++ b/testing/libdparse/APKBUILD @@ -12,22 +12,16 @@ subpackages="$pkgname-dev" source="https://github.com/dlang-community/libdparse/archive/v$pkgver/libdparse-$pkgver.tar.gz" build() { - meson \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --buildtype=plain \ - . output - ninja -C output + abuild-meson . 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="339fa055247f7eef4807a60aaf910f3558054b97afd453b08088b80216c9707b178f3b4199f782b105f9ad0b5802453afaea7815cb688f569a96de5f0c19c02e libdparse-0.15.1.tar.gz"