void-packages/srcpkgs/xtrlock/template

23 lines
627 B
Bash

# Template file for 'xtrlock'
pkgname=xtrlock
version=2.8
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=3848b0c9f2597247e82932f43c42cc9fd7171b808dc08ae84b40a13f7f969604
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
}