aboutsummaryrefslogtreecommitdiff
path: root/desktop/slack-wallpapers/slack-wallpapers.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <petar.petrov@student.oulu.fi>2015-05-09 07:42:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-09 07:42:21 +0700
commitfbf8418694e3c50073877a6b95c9cf6f768a4417 (patch)
tree0610119050c98c9ea6803b43baf8e15080cd04a4 /desktop/slack-wallpapers/slack-wallpapers.SlackBuild
parentab5708960ab3d232b1b35a3b55a79da14d099834 (diff)
desktop/slack-wallpapers: Updated for version 0.443.
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.SlackBuild16
1 files changed, 13 insertions, 3 deletions
diff --git a/desktop/slack-wallpapers/slack-wallpapers.SlackBuild b/desktop/slack-wallpapers/slack-wallpapers.SlackBuild
index 7dabb265b2ed0..8857cff76a9c1 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-2014 Petar Petrov, petar.petrov@student.oulu.fi
+# Copyright 2012-2015 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.341}
+VERSION=${VERSION:-0.443}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,7 +52,8 @@ find -L . \
mkdir -p $PKG/usr/share/wallpapers
cp -a images/* $PKG/usr/share/wallpapers
-# Make symlinks, so XFCE finds the wallpapers automagically
+# Make symlinks, so XFCE finds the wallpapers automagically. If you do
+# not want this, then comment out the next 6 lines.
mkdir -p $PKG/usr/share/backgrounds/xfce
cd $PKG/usr/share/wallpapers/
for i in *
@@ -60,6 +61,15 @@ do
ln -s /usr/share/wallpapers/$i $PKG/usr/share/backgrounds/xfce/.
done
+# Make symlinks for MATE as well. If you do not want this, then comment
+# out the next 6 lines.
+mkdir -p $PKG/usr/share/backgrounds/mate
+cd $PKG/usr/share/wallpapers/
+for i in *
+do
+ln -s /usr/share/wallpapers/$i $PKG/usr/share/backgrounds/mate/.
+done
+
cd $TMP/$PRGNAM-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION