aboutsummaryrefslogtreecommitdiffstats
path: root/community/swaylock/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/swaylock/APKBUILD')
-rw-r--r--community/swaylock/APKBUILD27
1 files changed, 16 insertions, 11 deletions
diff --git a/community/swaylock/APKBUILD b/community/swaylock/APKBUILD
index 8af70b5148f..05c5f1cfd40 100644
--- a/community/swaylock/APKBUILD
+++ b/community/swaylock/APKBUILD
@@ -1,14 +1,13 @@
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
-# Contributor: Drew DeVault <sir@cmpwn.com>
+# Contributor:
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=swaylock
-pkgver=1.5
-pkgrel=5
+pkgver=1.7.2
+pkgrel=2
pkgdesc="Screen locker for Wayland"
-url="https://swaywm.org"
-arch="all"
+url="https://swaywm.org/"
license="MIT"
-options="!check" # no test suite
+arch="all"
makedepends="cairo-dev
gdk-pixbuf-dev
libxkbcommon-dev
@@ -19,13 +18,20 @@ makedepends="cairo-dev
wayland-dev
wayland-protocols
"
+provider_priority=100 # highest (other provider is swaylock-effects)
subpackages="
+ $pkgname-dbg
$pkgname-doc
$pkgname-bash-completion
$pkgname-fish-completion
$pkgname-zsh-completion
"
-source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/swaylock/archive/$pkgver.tar.gz"
+source="https://github.com/swaywm/swaylock/archive/v$pkgver/swaylock-$pkgver.tar.gz"
+options="!check" # no test suite
+
+# secfixes:
+# 1.6-r0:
+# - CVE-2022-26530
prepare() {
default_prepare
@@ -44,7 +50,6 @@ prepare() {
-session optional pam_kwallet.so auto_start
-session optional pam_kwallet5.so auto_start
__EOF__
-
}
build() {
@@ -54,8 +59,8 @@ build() {
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
-
- mv "$pkgdir"/usr/share/fish/vendor_completions.d "$pkgdir"/usr/share/fish/completions
}
-sha512sums="16dd9b912ca702849290cf18d91ffbd64a70118cc284982a84b567c4974fd4590b12707c0aae1fcda7ccd1caa7880f342c633b9345bd795c36702916696d1f67 swaylock-1.5.tar.gz"
+sha512sums="
+0593f7dfb258bd77796cb757e2e52d01829e0746306ce7991313a2982feead698c22753db53b00719ac1c82f6573563bcf5815f68c06680aa8ee6d419cac7549 swaylock-1.7.2.tar.gz
+"