void-packages/srcpkgs/xtrlock/template
2015-03-08 13:42:43 +01:00

23 lines
641 B
Bash

# Template file for 'xtrlock'
pkgname=xtrlock
version=2.7
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="${DEBIAN_SITE}/main/x/${pkgname}/${pkgname}_${version}.tar.gz"
checksum=9993e099fe1c74176fa4b7863cbcf1f746307ee6c90c9ad1e4d2dae1871be6b9
build_pie=yes
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
}