void-packages/srcpkgs/i3lock/template
2017-06-22 12:03:00 +02:00

23 lines
684 B
Bash

# Template file for 'i3lock'
pkgname=i3lock
version=2.9.1
revision=1
hostmakedepends="pkg-config"
makedepends="libev-devel cairo-devel pam-devel libxkbcommon-devel
xcb-util-devel xcb-util-image-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=106a1616d4e8dda8f7bdd95b142c25a5d42f69894279006598d22dad8982c790
do_build() {
sed -i 's:login:system-auth:' i3lock.pam
make CC=$CC ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vman i3lock.1
}