aboutsummaryrefslogtreecommitdiffstats
path: root/community/osinfo-db-tools/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:13:27 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:37:44 +0200
commitb4055e2f600278dd0ccb2470d9bbb477cdba6a21 (patch)
tree09cbc871c74de5085f5bde25bd2106062889ab09 /community/osinfo-db-tools/APKBUILD
parentcb44ac1d8b73a19cff5eedb20fe2a2d49cd46ad7 (diff)
downloadaports-b4055e2f600278dd0ccb2470d9bbb477cdba6a21.tar.gz
aports-b4055e2f600278dd0ccb2470d9bbb477cdba6a21.tar.bz2
aports-b4055e2f600278dd0ccb2470d9bbb477cdba6a21.tar.xz
community/osinfo-db-tools: use abuild-meson & meson compile/test/install
Diffstat (limited to 'community/osinfo-db-tools/APKBUILD')
-rw-r--r--community/osinfo-db-tools/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/community/osinfo-db-tools/APKBUILD b/community/osinfo-db-tools/APKBUILD
index 13fc5d9f48..17c2cce6b9 100644
--- a/community/osinfo-db-tools/APKBUILD
+++ b/community/osinfo-db-tools/APKBUILD
@@ -23,19 +23,16 @@ source="https://gitlab.com/libosinfo/osinfo-db-tools/-/archive/v$pkgver/osinfo-d
builddir="$srcdir/osinfo-db-tools-v$pkgver"
build() {
- meson \
- --prefix=/usr \
- --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="ce2adec28f50cdc071fda677aadb82918ed6f48361c62a52a064c07d1cf4d7d5ab6a0f8a6add599fbed74e5a787b17b864a67a94129266aafab24de3688d6a0b osinfo-db-tools-v1.8.0.tar.gz"