summaryrefslogtreecommitdiff
path: root/xscreensaver/Pkgfile
blob: b96365bd2a4aa8ae67b8dab4c99a5f49c0bda033 (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.42
    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 
   38 	install -d $PKG/usr/share/wallpapers
   39 
   40 	# PAM service file
   41 	install -D -m 0644 $SRC/$name.pam \
   42 		$PKG/etc/pam.d/$name
   43 	rm -r $PKG/usr/share/{locale,xscreensaver/config/README}
   44 }

Generated by cgit