void-packages/srcpkgs/xscreensaver/template

23 lines
944 B
Text

# Template file for 'xscreensaver'
pkgname=xscreensaver
version=5.32
revision=1
build_style=gnu-configure
configure_args="--with-pam --with-login-manager
--with-x-app-defaults=/usr/share/X11/app-defaults"
conf_files="/etc/pam.d/xscreensaver"
short_desc="Screen saver and locker for the X Window System"
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
license="BSD"
hostmakedepends="bc perl pkg-config intltool"
makedepends="pam-devel gdk-pixbuf-devel gtk+-devel libXt-devel libXpm-devel
libxml2-devel libglade-devel glu-devel libjpeg-turbo-devel libXmu-devel"
homepage="http://www.jwz.org/xscreensaver/"
distfiles="http://www.jwz.org/xscreensaver/xscreensaver-${version}.tar.gz"
checksum=4252a6079d2d2f5b342e8bdd172cbad5f0af73daf4e412b61a68344d91ca93bd
do_install() {
vmkdir etc/pam.d
make install_prefix=${DESTDIR} install
echo "NotShowIn=KDE;GNOME;" >> ${DESTDIR}/usr/share/applications/xscreensaver-properties.desktop
}