summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-24 00:29:21 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-24 00:29:21 -0500
commit21b353b9140cff0fd875eedf9bbe43d6b9d5c328 (patch)
tree187fc749ff6ebef48aab6318e09f02e885e84f64
parent9da0d8d70f745811e19e235751e5999c3c80e7a8 (diff)
downloadpackages-21b353b9140cff0fd875eedf9bbe43d6b9d5c328.tar.gz
packages-21b353b9140cff0fd875eedf9bbe43d6b9d5c328.tar.bz2
packages-21b353b9140cff0fd875eedf9bbe43d6b9d5c328.tar.xz
packages-21b353b9140cff0fd875eedf9bbe43d6b9d5c328.zip
user/i3lock: modernise, fix, etc
-rw-r--r--user/i3lock/APKBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/user/i3lock/APKBUILD b/user/i3lock/APKBUILD
index c11e9bca8..9791fdc02 100644
--- a/user/i3lock/APKBUILD
+++ b/user/i3lock/APKBUILD
@@ -1,25 +1,24 @@
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
-# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
+# Maintainer:
pkgname=i3lock
pkgver=2.10
-pkgrel=0
-pkgdesc="An improved screenlocker based upon XCB and PAM"
+pkgrel=1
+pkgdesc="Simple X11 screen locker"
url="https://i3wm.org/i3lock/"
arch="all"
license="MIT"
depends="xkeyboard-config"
-makedepends="libev-dev cairo-dev linux-pam-dev libxkbcommon-dev
- xcb-util-image-dev which"
+makedepends="cairo-dev libev-dev libxkbcommon-dev linux-pam-dev cmd:which
+ xcb-util-image-dev"
subpackages="$pkgname-doc"
source="$url/$pkgname-$pkgver.tar.bz2"
-builddir="$srcdir/$pkgname-$pkgver"
prepare() {
- default_prepare
-
cd "$builddir"
-
- # Fix ticket FS#31544, sed line taken from gentoo
+ default_prepare
+ # At present, this has no functional difference.
+ # But when we start developing our PAM stack into something more
+ # mature, this will be important, because i3lock runs unprivileged.
sed -i -e 's:login:base-auth:g' i3lock.pam
}