25 lines
701 B
Bash
25 lines
701 B
Bash
# Template file for 'i3lock'
|
|
pkgname=i3lock
|
|
version=2.10
|
|
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=29eb32bf317fad7b292e15be6c02d693bfc6dbfdd6d98f0a6db71e189140c8ee
|
|
|
|
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
|
|
vlicense LICENSE
|
|
}
|