aboutsummaryrefslogtreecommitdiff
path: root/desktop/slack-wallpapers/slack-wallpapers.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <petar.petrov@student.oulu.fi>2014-05-30 07:03:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-30 07:03:11 +0700
commitf6d8bd4076ce116305824c3a82bf443cdca04726 (patch)
treee2033263b4969c38965eb304fcc66702d27dfe72 /desktop/slack-wallpapers/slack-wallpapers.SlackBuild
parent3d22faa366d8eac88106540bb3942140ff30286e (diff)
desktop/slack-wallpapers: Updated for version 0.341.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/slack-wallpapers/slack-wallpapers.SlackBuild')
-rw-r--r--desktop/slack-wallpapers/slack-wallpapers.SlackBuild18
1 files changed, 13 insertions, 5 deletions
diff --git a/desktop/slack-wallpapers/slack-wallpapers.SlackBuild b/desktop/slack-wallpapers/slack-wallpapers.SlackBuild
index 5ba5e35ca0bca..7dabb265b2ed0 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