void-packages/srcpkgs/xtrlock/template

22 lines
627 B
Plaintext

# Template file for 'xtrlock'
pkgname=xtrlock
version=2.6
revision=1
makedepends="libX11-devel"
short_desc="Minimal X display lock program"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://packages.debian.org/xtrlock"
distfiles="http://ftp.debian.org/debian/pool/main/x/${pkgname}/${pkgname}_${version}.tar.gz"
checksum=f0acccd39b9beedf1244434045e243cf515ba8653964fe6f3fb9187c640cc3bb
do_build() {
make -f Makefile.noimake CC="${CC}" CFLAGS="${CFLAGS} -DSHADOW_PWD" \
LDLIBS="-lX11 -lcrypt" xtrlock
}
do_install() {
vbin xtrlock
vman xtrlock.man xtrlock.1
}