diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2016-11-11 14:59:34 -0500 |
---|---|---|
committer | Daniel Sabogal <dsabogal@ufl.edu> | 2016-11-12 18:37:02 -0500 |
commit | cd5d050b5fa27d5f233acb998c6f7fc1a0c68277 (patch) | |
tree | 85d7b98c184094f0d227e9b1456be47ca1d17e2f /testing/sway | |
parent | c3dc460ebfbd64041ecade8339ec07fed165daa2 (diff) | |
download | aports-cd5d050b5fa27d5f233acb998c6f7fc1a0c68277.tar.bz2 aports-cd5d050b5fa27d5f233acb998c6f7fc1a0c68277.tar.xz |
testing/sway: enable swaylock
Diffstat (limited to 'testing/sway')
-rw-r--r-- | testing/sway/APKBUILD | 12 |
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 . \ |