void-packages/srcpkgs/xtrlock/template

23 lines
627 B
Plaintext

# Template file for 'xtrlock'
pkgname=xtrlock
version=2.6
revision=2
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="${DEBIAN_SITE}/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
chmod u+s ${DESTDIR}/usr/bin/xtrlock
vman xtrlock.man xtrlock.1
}