contrib/xscreensaver/Pkgfile

48 lines
1.1 KiB
Plaintext
Raw Normal View History

2007-04-10 22:22:44 +02:00
# Description: A screen saver and locker daemon for xorg.
2020-07-12 20:48:11 +02:00
# URL: https://www.jwz.org/xscreensaver/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: bc fortune giflib glu libglade linux-pam xorg-libxmu
2007-04-10 22:22:44 +02:00
name=xscreensaver
2020-06-12 00:49:19 +02:00
version=5.44
2007-04-10 22:22:44 +02:00
release=1
source=(https://www.jwz.org/$name/$name-$version.tar.gz
2019-02-03 07:49:45 +01:00
$name.pam)
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
chmod 755 $PKG/usr/bin/xscreensaver
install -d $PKG/usr/share/wallpapers
2019-02-03 07:49:45 +01:00
echo "NotShowIn=KDE;GNOME;" >> $PKG/usr/share/applications/xscreensaver-properties.desktop
2019-02-03 07:49:45 +01:00
# PAM service file
install -D -m 0644 $SRC/$name.pam \
$PKG/etc/pam.d/$name
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
}