# Tanım: X Pencere Yoneticisi icin ekran koruyucu
# URL: http://www.jwz.org/xscreensaver/
# Paketçi: milisarge
# Gerekler: bc libglade xorg-libxmu xorg-libxt xorg-libxpm 
# Grup: sistem

isim=xscreensaver
surum=5.38
devir=1
kaynak=(http://www.jwz.org/xscreensaver/$isim-$surum.tar.gz)

derle() {
cd $isim-$surum
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--without-gnome
make
make install_prefix=$PKG install
chmod 755 $PKG/usr/bin/xscreensaver
mkdir -p $PKG/etc/pam.d
cat > $PKG/etc/pam.d/xscreensaver << "EOF"
# Begin /etc/pam.d/xscreensaver

auth	include	system-auth
account	include	system-account

# End /etc/pam.d/xscreensaver
EOF
}
  
