contrib/xscreensaver/Pkgfile

42 lines
965 B
Plaintext
Raw Normal View History

2007-04-10 22:22:44 +02:00
# Description: A screen saver and locker daemon for xorg.
# URL: http://www.jwz.org/xscreensaver/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
2007-04-10 22:22:44 +02:00
# Packager: Jay Dolan, jdolan at jdolan dot dyndns dot org
2017-11-01 13:35:12 +01:00
# Depends on: bc fortune giflib glu libglade util-linux xorg-libxmu
2007-04-10 22:22:44 +02:00
name=xscreensaver
2019-03-14 14:15:32 +01:00
version=5.42
2007-04-10 22:22:44 +02:00
release=1
2017-10-04 10:19:42 +02:00
source=(https://www.jwz.org/$name/$name-$version.tar.gz)
2007-04-10 22:22:44 +02:00
build() {
2008-08-16 13:36:37 +02:00
cd $name-$version
2014-11-19 02:42:44 +01:00
2019-03-14 14:15:32 +01:00
sed -e's|-std=c89||' -i configure.in
autoreconf -fiv
2007-04-10 22:22:44 +02:00
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
2008-03-04 16:13:46 +01:00
--with-x-app-defaults='/etc/X11/app-defaults' \
2007-04-10 22:22:44 +02:00
--enable-locking \
2007-11-14 19:29:54 +01:00
--enable-root-passwd \
--with-dpms-ext \
--with-xinerama-ext \
--with-xshm-ext \
--with-proc-interrupts \
--with-shadow \
2007-07-19 03:51:54 +02:00
--with-pixbuf \
--with-jpeg \
2007-04-10 22:22:44 +02:00
--without-motif \
--without-gle \
--without-setuid-hacks
make
2007-11-14 19:29:54 +01:00
make install_prefix=$PKG install
2019-03-14 14:15:32 +01:00
install -d $PKG/usr/share/wallpapers
2019-03-14 14:15:32 +01:00
rm -r $PKG/usr/share/{locale,xscreensaver/config/README}
2007-04-10 22:22:44 +02:00
}