blob: ace28b7de33a75cecac5cedf0906a682ee748fdd (
plain)
1 # Description: A screen saver and locker daemon for xorg.
2 # URL: http://www.jwz.org/xscreensaver/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: bc fortune giflib glu libglade linux-pam xorg-libxmu
5
6 name=xscreensaver
7 version=5.43
8 release=1
9 source=(https://www.jwz.org/$name/$name-$version.tar.gz
10 $name.pam)
11
12 build() {
13 cd $name-$version
14
15 sed -e's|-std=c89||' -i configure.in
16 autoreconf -fiv
17
18 ./configure \
19 --prefix=/usr \
20 --libexecdir=/usr/lib \
21 --with-x-app-defaults='/etc/X11/app-defaults' \
22 --enable-locking \
23 --enable-root-passwd \
24 --with-dpms-ext \
25 --with-xinerama-ext \
26 --with-xshm-ext \
27 --with-proc-interrupts \
28 --with-shadow \
29 --with-pixbuf \
30 --with-jpeg \
31 --without-motif \
32 --without-gle \
33 --without-setuid-hacks
34
35 make
36 make install_prefix=$PKG install
37 chmod 755 $PKG/usr/bin/xscreensaver
38 install -d $PKG/usr/share/wallpapers
39
40 echo "NotShowIn=KDE;GNOME;" >> $PKG/usr/share/applications/xscreensaver-properties.desktop
41
42 # PAM service file
43 install -D -m 0644 $SRC/$name.pam \
44 $PKG/etc/pam.d/$name
45
46 rm -r $PKG/usr/share/{locale,xscreensaver/config/README}
47 }
|