void-packages/srcpkgs/xscreensaver/template

26 lines
1,011 B
Text
Raw Normal View History

# Template file for 'xscreensaver'
pkgname="xscreensaver"
2014-09-22 12:26:21 +00:00
version="5.30"
2014-08-23 15:22:11 +00:00
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/${pkgname}"
short_desc="Screen saver and locker for the X Window System"
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
license="GPL-2"
2014-08-23 15:31:08 +00:00
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"
2014-09-22 12:26:21 +00:00
checksum=3771176876a402738e0f91dcb3654b57cfa430cf90d3413a6bad5daf1d085d52
do_install() {
make install_prefix=${DESTDIR} install
echo "NotShowIn=KDE;GNOME;" >> ${DESTDIR}/usr/share/applications/xscreensaver-properties.desktop
vmkdir etc/pam.d
echo "auth include login" > ${DESTDIR}/etc/pam.d/${pkgname}
}