aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2020-08-09 04:58:41 +0200
committerMichał Polański <michal@polanski.me>2020-08-09 04:58:41 +0200
commit4394c9a875da01475a805af3f99375f61038ab24 (patch)
tree803cc181e221fe91d50a66dfb128baa67c6c0ffc
parent8735209ee60c0bafc69389d9455e24b19f540009 (diff)
downloadaports-4394c9a875da01475a805af3f99375f61038ab24.tar.gz
aports-4394c9a875da01475a805af3f99375f61038ab24.tar.bz2
aports-4394c9a875da01475a805af3f99375f61038ab24.tar.xz
community/swaylock: use abuild-meson
-rw-r--r--community/swaylock/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/community/swaylock/APKBUILD b/community/swaylock/APKBUILD
index 83c0e7f03a..8a833f2ee1 100644
--- a/community/swaylock/APKBUILD
+++ b/community/swaylock/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=swaylock
pkgver=1.5
-pkgrel=3
+pkgrel=4
pkgdesc="Screen locker for Wayland"
url="https://swaywm.org"
arch="all"
@@ -47,15 +47,12 @@ prepare() {
}
build() {
- meson \
- --prefix=/usr \
- --buildtype=plain \
- build
- ninja -C build
+ abuild-meson . output
+ meson compile -C output
}
package() {
- DESTDIR="$pkgdir" ninja -C build install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
mv "$pkgdir"/usr/share/fish/vendor_completions.d "$pkgdir"/usr/share/fish/completions
}