void-packages/srcpkgs/xautolock/template
2015-06-18 12:24:03 +02:00

20 lines
627 B
Bash

# Template file for 'xautolock'
pkgname=xautolock
version=2.2
revision=3
hostmakedepends="imake xorg-cf-files"
makedepends="libXScrnSaver-devel xproto"
short_desc="Autolock utility for X"
maintainer="Tj Vanderpoel (bougyman) <tj@rubyists.com>"
license="GPL-2"
homepage="http://www.ibiblio.org/pub/Linux/X11/screensavers/"
distfiles="${homepage}/${pkgname}-${version}.tgz"
checksum=11f0275175634e6db756e96f5713ec91b8b1c41f8663df54e8a5d27dc71c4da2
do_build() {
xmkmf
make CC=$CC CDEBUGFLAGS="-D_DEFAULT_SOURCE ${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
}
do_install() {
make MANSUFFIX=1 DESTDIR=${DESTDIR} install install.man
}