aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wofi/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-09-01 00:23:36 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-09-07 11:38:12 +0200
commitad7dcab8ae9369b9ce7b6625900061a2d1d33bb4 (patch)
tree1e527ec99e030eb73e7b44cd839c67d1b96ea9ba /testing/wofi/APKBUILD
parentc613b2477db36ec164b499a9c5b36a4d9b742452 (diff)
downloadaports-ad7dcab8ae9369b9ce7b6625900061a2d1d33bb4.tar.gz
aports-ad7dcab8ae9369b9ce7b6625900061a2d1d33bb4.tar.bz2
aports-ad7dcab8ae9369b9ce7b6625900061a2d1d33bb4.tar.xz
testing/wofi: use abuild-meson & meson compile/test/install
Diffstat (limited to 'testing/wofi/APKBUILD')
-rw-r--r--testing/wofi/APKBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/testing/wofi/APKBUILD b/testing/wofi/APKBUILD
index 1b8445fc1f..594035a126 100644
--- a/testing/wofi/APKBUILD
+++ b/testing/wofi/APKBUILD
@@ -14,17 +14,11 @@ source="$pkgname-v$pkgver.tar.gz::https://hg.sr.ht/~scoopta/wofi/archive/v$pkgve
builddir="$srcdir/$pkgname-v$pkgver"
build() {
- meson \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --buildtype=plain \
- build
- ninja -C build
+ abuild-meson build
+ meson compile ${JOBS:+-j ${JOBS}} -C build
}
package() {
- DESTDIR="$pkgdir" ninja -C build install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C build
}
sha512sums="94981fbc76e354308a7d478b316c858407d35b4400bd44449c8dd4dbe64f36630af136b615dd52171bb341da1c699fdb5196e0a2484e253375c2df6d90d5eb3b wofi-v1.1.2.tar.gz"