24 lines
680 B
Bash
24 lines
680 B
Bash
# Template file for 'i3lock'
|
|
pkgname=i3lock
|
|
version=2.8
|
|
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="http://i3wm.org/i3lock/"
|
|
distfiles="http://i3wm.org/i3lock/i3lock-${version}.tar.bz2"
|
|
checksum=028fc0f74df10826514d5a4ed38f6895935d1f5d47ca9fcffc64b076aaf6e2f4
|
|
|
|
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
|
|
}
|