aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sway/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/sway/APKBUILD')
-rw-r--r--testing/sway/APKBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/testing/sway/APKBUILD b/testing/sway/APKBUILD
index 3d5db75fcb..ed50c5ce11 100644
--- a/testing/sway/APKBUILD
+++ b/testing/sway/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=sway
pkgver=0.10
-pkgrel=1
+pkgrel=2
pkgdesc="i3 compatible window manager for Wayland"
url="http://swaywm.org"
arch="all"
@@ -10,12 +10,18 @@ license="MIT"
options="suid"
depends="libxcursor"
makedepends="asciidoc cmake gdk-pixbuf json-c-dev libinput-dev libxkbcommon-dev
- pango-dev wayland-dev wlc-dev"
+ linux-pam-dev pango-dev wayland-dev wlc-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/SirCmpwn/$pkgname/archive/$pkgver.tar.gz"
-
builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ default_prepare || return 1
+
+ cd "$builddir"
+ sed -i 's/login/base-auth/g' swaylock/pam/swaylock
+}
+
build() {
cd "$builddir"
cmake . \