blob: e46b40368bb7fe990bfcba1b1d84dd95b86f3b89 (
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 util-linux xorg-libxmu linux-pam
5
6 name=xscreensaver
7 version=5.39
8 release=2
9 source=(https://www.jwz.org/$name/$name-$version.tar.gz \
10 $name.pam)
11
12 build() {
13 cd $name-$version
14
15 sed -i configure \
16 -e 's/USE_NLS=yes/USE_NLS=no/' \
17 -e 's/ENABLE_NLS 1/ENABLE_NLS 0/'
18
19 ./configure \
20 --prefix=/usr \
21 --libexecdir=/usr/lib \
22 --with-x-app-defaults='/etc/X11/app-defaults' \
23 --enable-locking \
24 --enable-root-passwd \
25 --with-dpms-ext \
26 --with-xinerama-ext \
27 --with-xshm-ext \
28 --with-proc-interrupts \
29 --with-shadow \
30 --with-pixbuf \
31 --with-jpeg \
32 --without-motif \
33 --without-gle \
34 --without-setuid-hacks
35
36 make
37 make install_prefix=$PKG install
38 rm $PKG/usr/share/xscreensaver/config/README
39 install -d $PKG/usr/share/wallpapers
40
41 # PAM service file
42 install -D -m 0644 $SRC/$name.pam \
43 $PKG/etc/pam.d/$name
44 }
|