Use the package option to specify its version string during build.
Also make sure to honour the documented order of meson command-line
arguments: positional arguments (here build) should go last.
---
testing/swaylock/APKBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testing/swaylock/APKBUILD b/testing/swaylock/APKBUILD
index 02f18e877c..b090a90c91 100644
--- a/testing/swaylock/APKBUILD
+++ b/testing/swaylock/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=swaylock
pkgver=1.3
-pkgrel=1
+pkgrel=2
pkgdesc="Screen locker for Wayland"
url="http://swaywm.org"
arch="all"
@@ -35,7 +35,7 @@ prepare() {
build() {
cd "$builddir"
- meson build --prefix /usr
+ meson -Dswaylock-version="$pkgver" --prefix /usr build
ninja -C build
}
--
2.21.0
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---