41 lines
994 B
Plaintext
41 lines
994 B
Plaintext
# Description: A screen saver and locker daemon for xorg.
|
|
# URL: http://www.jwz.org/xscreensaver/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: Jay Dolan, jdolan at jdolan dot dyndns dot org
|
|
# Depends on: bc fortune giflib glu intltool libglade util-linux xorg-libxmu
|
|
|
|
name=xscreensaver
|
|
version=5.37
|
|
release=1
|
|
source=(https://www.jwz.org/$name/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
sed -i configure \
|
|
-e 's/USE_NLS=yes/USE_NLS=no/' \
|
|
-e 's/ENABLE_NLS 1/ENABLE_NLS 0/'
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--with-x-app-defaults='/etc/X11/app-defaults' \
|
|
--enable-locking \
|
|
--enable-root-passwd \
|
|
--with-dpms-ext \
|
|
--with-xinerama-ext \
|
|
--with-xshm-ext \
|
|
--with-proc-interrupts \
|
|
--with-shadow \
|
|
--with-pixbuf \
|
|
--with-jpeg \
|
|
--without-motif \
|
|
--without-gle \
|
|
--without-setuid-hacks
|
|
|
|
make
|
|
make install_prefix=$PKG install
|
|
rm $PKG/usr/share/xscreensaver/config/README
|
|
install -d $PKG/usr/share/wallpapers
|
|
}
|