27 lines
1 KiB
Bash
27 lines
1 KiB
Bash
# Template file for 'xscreensaver'
|
|
pkgname=xscreensaver
|
|
version=5.35
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-pam --with-login-manager
|
|
--with-x-app-defaults=/usr/share/X11/app-defaults
|
|
--includedir=${XBPS_CROSS_BASE}/include
|
|
--libdir=${XBPS_CROSS_BASE}/lib"
|
|
conf_files="/etc/pam.d/xscreensaver"
|
|
short_desc="Screen saver and locker for the X Window System"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
license="MIT"
|
|
hostmakedepends="bc perl pkg-config intltool"
|
|
makedepends="pam-devel libglade-devel glu-devel libjpeg-turbo-devel
|
|
libXpm-devel libXmu-devel libXinerama-devel libXrandr-devel"
|
|
homepage="http://www.jwz.org/xscreensaver/"
|
|
distfiles="http://www.jwz.org/xscreensaver/xscreensaver-${version}.tar.gz"
|
|
checksum=1e6c8471a9af4862f38a6dd5c6e61fe12b052d35af44b2941904c6e333586b22
|
|
|
|
do_install() {
|
|
vmkdir etc/pam.d
|
|
make install_prefix=${DESTDIR} install
|
|
echo "NotShowIn=KDE;GNOME;" >> ${DESTDIR}/usr/share/applications/xscreensaver-properties.desktop
|
|
sed '/^$/q' < driver/xscreensaver.c > LICENSE
|
|
vlicense LICENSE
|
|
}
|