contrib/rss-glx/Pkgfile
2011-01-11 04:49:39 +11:00

35 lines
855 B
Plaintext

# Description: Linux GLX port of the Really Slick Screensavers.
# URL: http://rss-glx.sourceforge.net/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Matt Housh, jaeger at morpheus dot net
# Depends on: xscreensaver imagemagick
name=rss-glx
version=0.9.1
release=2
source=(http://downloads.sourceforge.net/project/$name/$name/$version/${name}_$version.tar.bz2)
build() {
cd ${name}_$version
./configure \
--prefix=/usr \
--mandir=/usr/man \
--with-configdir=/usr/share/xscreensaver/config \
--disable-sound \
--disable-static \
--enable-shared
make
make DESTDIR=$PKG install
install -d $PKG/usr/lib/xscreensaver $PKG/usr/sbin
mv $PKG/usr/bin/rss-glx_install.pl $PKG/usr/sbin/rss-glx_install
(
cd $PKG/usr/lib/xscreensaver
for i in $PKG/usr/bin/*; do
ln -s /usr/bin/$(basename $i)
done
)
}