void-packages/srcpkgs/xautolock/template

21 lines
643 B
Bash

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