void-packages/srcpkgs/xtrlock/template

22 lines
589 B
Text
Raw Normal View History

2014-07-07 12:16:28 +00:00
# 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"
2014-11-25 12:46:03 +00:00
distfiles="${DEBIAN_SITE}/main/x/${pkgname}/${pkgname}_${version}.tar.gz"
2014-07-07 12:16:28 +00:00
checksum=f0acccd39b9beedf1244434045e243cf515ba8653964fe6f3fb9187c640cc3bb
do_build() {
2014-11-23 13:49:58 +00:00
make -f Makefile.noimake CC="${CC}" CFLAGS="${CFLAGS} -DSHADOW_PWD" \
LDLIBS="-lX11 -lcrypt" xtrlock
2014-07-07 12:16:28 +00:00
}
do_install() {
2014-11-23 13:49:58 +00:00
vbin xtrlock
vman xtrlock.man xtrlock.1
2014-07-07 12:16:28 +00:00
}