summaryrefslogtreecommitdiffstats
path: root/desktop/slack-wallpapers/slack-wallpapers.SlackBuild
diff options
context:
space:
mode:
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 7dabb265b2..8857cff76a 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