30 lines
709 B
Plaintext
30 lines
709 B
Plaintext
# Maintainer: Jay Dolan, jasonthomasdolan at yahoo dot com
|
|
# Description: A screen saver and locker daemon for X11
|
|
# URL: http://www.jwz.org/xscreensaver
|
|
# Depends on: bc,libglade,netpbm,fortune
|
|
|
|
name=xscreensaver
|
|
version=4.23
|
|
release=1
|
|
source=(http://www.jwz.org/$name/$name-$version.tar.gz)
|
|
|
|
build(){
|
|
cd $name-$version
|
|
exp="s/USE_NLS=yes/USE_NLS=no/; s/ENABLE_NLS 1/ENABLE_NLS 0/"
|
|
sed -i "$exp" configure
|
|
|
|
./configure --prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--mandir=/usr/man \
|
|
--enable-locking \
|
|
--without-motif \
|
|
--without-gnome \
|
|
--without-gle \
|
|
--without-setuid-hacks
|
|
make
|
|
make install_prefix=$PKG AD_DIR=/etc/X11/app-defaults install
|
|
|
|
rm -rf $PKG/usr/share/$name/config/README
|
|
}
|
|
|