28 lines
1020 B
Bash
28 lines
1020 B
Bash
# Template file for 'xscreensaver'
|
|
pkgname=xscreensaver
|
|
version=5.39
|
|
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"
|
|
hostmakedepends="bc intltool pkg-config"
|
|
makedepends="glu-devel libXinerama-devel libXmu-devel libXpm-devel
|
|
libXrandr-devel libglade-devel pam-devel"
|
|
short_desc="Screen saver and locker for the X Window System"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="MIT"
|
|
homepage="http://www.jwz.org/xscreensaver/"
|
|
distfiles="http://www.jwz.org/xscreensaver/xscreensaver-${version}.tar.gz"
|
|
checksum=48ce1880f18b5321182be0c033aeceb5ec5628a1505b9d1ff69dbf06093c2426
|
|
conf_files="/etc/pam.d/xscreensaver"
|
|
|
|
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
|
|
}
|