diff options
Diffstat (limited to 'desktop/slack-wallpapers/slack-wallpapers.SlackBuild')
-rw-r--r-- | desktop/slack-wallpapers/slack-wallpapers.SlackBuild | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/desktop/slack-wallpapers/slack-wallpapers.SlackBuild b/desktop/slack-wallpapers/slack-wallpapers.SlackBuild index 5ba5e35ca0..7dabb265b2 100644 --- a/desktop/slack-wallpapers/slack-wallpapers.SlackBuild +++ b/desktop/slack-wallpapers/slack-wallpapers.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for slack-wallpapers -# Copyright 2012-2013 Petar Petrov, petar.petrov@student.oulu.fi +# Copyright 2012-2014 Petar Petrov, petar.petrov@student.oulu.fi # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=slack-wallpapers -VERSION=${VERSION:-0.284} +VERSION=${VERSION:-0.341} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -52,10 +52,18 @@ find -L . \ mkdir -p $PKG/usr/share/wallpapers cp -a images/* $PKG/usr/share/wallpapers +# Make symlinks, so XFCE finds the wallpapers automagically +mkdir -p $PKG/usr/share/backgrounds/xfce +cd $PKG/usr/share/wallpapers/ +for i in * +do +ln -s /usr/share/wallpapers/$i $PKG/usr/share/backgrounds/xfce/. +done + +cd $TMP/$PRGNAM-$VERSION + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - ChangeLog CREDITS README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog CREDITS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |