# Contributor: Johannes Matheis # Maintainer: Max Rees pkgname=i3lock pkgver=2.11.1 pkgrel=0 pkgdesc="Simple X11 screen locker" url="https://i3wm.org/i3lock/" arch="all" options="!check" # No test suite. license="MIT" depends="xkeyboard-config" makedepends="cairo-dev libev-dev libxkbcommon-dev linux-pam-dev cmd:which xcb-util-image-dev xcb-util-xrm-dev" subpackages="$pkgname-doc" source="$url/$pkgname-$pkgver.tar.bz2" prepare() { 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' pam/i3lock } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } package() { make DESTDIR="$pkgdir" install } sha512sums="8b779aa0a560884adc1a508e1f07f712bdf043f72c377c24d5e7e186a6b97f34a5bda7aa67de41f5e15a1a541f4a2c2d28bc284057926a5833d70b67437d073c i3lock-2.11.1.tar.bz2"