void-packages/srcpkgs/xtrlock/template

24 lines
641 B
Bash
Raw Normal View History

2014-07-07 14:16:28 +02:00
# Template file for 'xtrlock'
pkgname=xtrlock
2015-03-08 13:42:43 +01:00
version=2.7
2015-05-20 19:19:51 +02:00
revision=2
2014-07-07 14:16:28 +02:00
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 13:46:03 +01:00
distfiles="${DEBIAN_SITE}/main/x/${pkgname}/${pkgname}_${version}.tar.gz"
2015-03-08 13:42:43 +01:00
checksum=9993e099fe1c74176fa4b7863cbcf1f746307ee6c90c9ad1e4d2dae1871be6b9
build_pie=yes
2014-07-07 14:16:28 +02:00
do_build() {
2014-11-23 14:49:58 +01:00
make -f Makefile.noimake CC="${CC}" CFLAGS="${CFLAGS} -DSHADOW_PWD" \
LDLIBS="-lX11 -lcrypt" xtrlock
2014-07-07 14:16:28 +02:00
}
do_install() {
2014-11-23 14:49:58 +01:00
vbin xtrlock
2015-02-14 16:19:57 +01:00
chmod u+s ${DESTDIR}/usr/bin/xtrlock
2014-11-23 14:49:58 +01:00
vman xtrlock.man xtrlock.1
2014-07-07 14:16:28 +02:00
}