summaryrefslogtreecommitdiff
path: root/desktop/murrine-themes/murrine-themes.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/murrine-themes/murrine-themes.SlackBuild')
-rw-r--r--desktop/murrine-themes/murrine-themes.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/desktop/murrine-themes/murrine-themes.SlackBuild b/desktop/murrine-themes/murrine-themes.SlackBuild
index 9a475ea8cb..d34760af02 100644
--- a/desktop/murrine-themes/murrine-themes.SlackBuild
+++ b/desktop/murrine-themes/murrine-themes.SlackBuild
@@ -25,7 +25,7 @@
# Many thanks to Debian for bundling all these themes together!
PRGNAM=murrine-themes
-VERSION=${VERSION:-0.98.10}
+VERSION=${VERSION:-0.98.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,23 +42,23 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM
tar xvf $CWD/${PRGNAM}_${VERSION}.tar.xz
-cd $PRGNAM-$VERSION/usr/share/themes
-tar xvf $CWD/${ORIGINAL}Xfwm.tar.bz2
+tar xvf $CWD/${ORIGINAL}Xfwm.tar.bz2 -C $PRGNAM/usr/share/themes
+cd $PRGNAM
chown -R root:root .
+# Zap Debian's executable .png and .xpm files :)
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -type d -exec chmod 755 {} \; -o \
+ -type f -exec chmod 644 {} \;
+cd $TMP/$PRGNAM/usr/share/themes
# Copy everything, including the original XFCE Murrina theme from here:
# http://xfce-look.org/content/show.php/Murrine++Xfwm+Theme?content=43083
mkdir -p $PKG/usr/share/themes
cp -a * $PKG/usr/share/themes
-cd $TMP/$PRGNAM-$VERSION/debian
+cd $TMP/$PRGNAM/debian
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a changelog copyright README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild