void-packages/srcpkgs/i3lock/template

24 lines
668 B
Bash

# Template file for 'i3lock'
pkgname=i3lock
version=2.11.1
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.org>"
license="MIT"
homepage="https://i3wm.org/i3lock/"
distfiles="https://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
checksum=f2a8c3d8827529e1dbb2ca870b0b27592c741356fb32dbf0969d9d4a46b1ad04
pre_build() {
sed -i 's:login:system-auth:' pam/i3lock
}
post_install() {
vlicense LICENSE
}