From 21b353b9140cff0fd875eedf9bbe43d6b9d5c328 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 24 Jul 2018 00:29:21 -0500 Subject: user/i3lock: modernise, fix, etc --- user/i3lock/APKBUILD | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'user/i3lock/APKBUILD') 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 -# Maintainer: Johannes Matheis +# 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 } -- cgit v1.2.3-70-g09d2