2014-04-03 11:17:48 +02:00
|
|
|
# Template file for 'xscreensaver'
|
2014-04-03 10:48:54 +02:00
|
|
|
|
|
|
|
pkgname="xscreensaver"
|
|
|
|
version="5.26"
|
2014-06-04 11:35:22 +02:00
|
|
|
revision=4
|
2014-04-03 10:48:54 +02:00
|
|
|
build_style=gnu-configure
|
2014-04-04 12:53:53 +02:00
|
|
|
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"
|
2014-04-03 10:48:54 +02:00
|
|
|
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
|
|
|
license="GPL-2"
|
2014-04-03 11:17:48 +02:00
|
|
|
hostmakedepends="bc perl pkg-config"
|
2014-06-04 11:35:22 +02:00
|
|
|
makedepends="pam-devel gdk-pixbuf-devel gtk+-devel
|
|
|
|
libXt-devel libXpm-devel libxml2-devel libglade-devel
|
2014-04-04 12:53:53 +02:00
|
|
|
glu-devel libjpeg-turbo-devel libXmu-devel"
|
2014-04-03 10:48:54 +02:00
|
|
|
homepage="http://www.jwz.org/xscreensaver/"
|
|
|
|
distfiles="http://www.jwz.org/xscreensaver/xscreensaver-${version}.tar.gz"
|
|
|
|
checksum="2ca4dc66e11947396124d1f87dd2787e0d8dd8dd1ada8871b3d8df40fb4f1b55"
|
2014-04-04 12:53:53 +02:00
|
|
|
|
|
|
|
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}
|
|
|
|
}
|