aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2020-08-09 04:32:36 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-08-09 02:44:12 +0000
commitbd5b18674c1ee44c79676f124c68f074bb286f63 (patch)
tree9b353c265d02667820838227630dd5550275d3b6
parent22ea5b57c21d915bb2857687ca91e07ea36f905c (diff)
downloadaports-bd5b18674c1ee44c79676f124c68f074bb286f63.tar.gz
aports-bd5b18674c1ee44c79676f124c68f074bb286f63.tar.bz2
aports-bd5b18674c1ee44c79676f124c68f074bb286f63.tar.xz
community/kanshi: use abuild-meson
-rw-r--r--community/kanshi/APKBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/community/kanshi/APKBUILD b/community/kanshi/APKBUILD
index 295b930a8b..6e1b2ba232 100644
--- a/community/kanshi/APKBUILD
+++ b/community/kanshi/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=kanshi
pkgver=1.1.0
-pkgrel=0
+pkgrel=1
pkgdesc="Dynamic display configuration for Wayland"
url="https://wayland.emersion.fr/kanshi/"
arch="all"
@@ -14,16 +14,12 @@ subpackages="$pkgname-doc"
source="https://github.com/emersion/kanshi/releases/download/v$pkgver/kanshi-$pkgver.tar.gz"
build() {
- meson \
- --buildtype=plain \
- --prefix=/usr \
- --mandir=/usr/share/man \
- 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
}
sha512sums="6582bae7b73ad13cad83e4d537c7c870699a72bf6993becaafa47a3dd70439a3c626ffff4874c8f737b32b62ad7512772c2c3bf54ac2cb74879213bd40b8d7a1 kanshi-1.1.0.tar.gz"