i3lock: update to 2.11.

This commit is contained in:
maxice8 2018-10-10 22:10:37 -03:00 committed by maxice8
parent cda6420aa0
commit 335b365819
1 changed files with 8 additions and 9 deletions

View File

@ -1,24 +1,23 @@
# Template file for 'i3lock'
pkgname=i3lock
version=2.10
version=2.11
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libev-devel cairo-devel pam-devel libxkbcommon-devel
xcb-util-devel xcb-util-image-devel"
xcb-util-devel xcb-util-image-devel xcb-util-xrm-devel"
conf_files="/etc/pam.d/i3lock"
short_desc="An improved screenlocker based upon XCB and PAM"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://i3wm.org/i3lock/"
distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
checksum=29eb32bf317fad7b292e15be6c02d693bfc6dbfdd6d98f0a6db71e189140c8ee
checksum=0e1d791063fab22147ab2ce95957d56d34cb53b452e1781ec37997d04a84c44f
do_build() {
sed -i 's:login:system-auth:' i3lock.pam
make CC=$CC ${makejobs}
pre_build() {
sed -i 's:login:system-auth:' pam/i3lock
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vman i3lock.1
post_install() {
vlicense LICENSE
}