void-packages/srcpkgs/i3lock/template
2018-10-11 05:43:51 -03:00

23 lines
665 B
Bash

# Template file for 'i3lock'
pkgname=i3lock
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-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=0e1d791063fab22147ab2ce95957d56d34cb53b452e1781ec37997d04a84c44f
pre_build() {
sed -i 's:login:system-auth:' pam/i3lock
}
post_install() {
vlicense LICENSE
}