summaryrefslogtreecommitdiff
path: root/desktop/faenza-xfce/faenza-xfce.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/faenza-xfce/faenza-xfce.SlackBuild')
-rw-r--r--desktop/faenza-xfce/faenza-xfce.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/desktop/faenza-xfce/faenza-xfce.SlackBuild b/desktop/faenza-xfce/faenza-xfce.SlackBuild
index 475a26c2b4..c63121b989 100644
--- a/desktop/faenza-xfce/faenza-xfce.SlackBuild
+++ b/desktop/faenza-xfce/faenza-xfce.SlackBuild
@@ -29,6 +29,7 @@ TAG=${TAG:-_SBo}
ORIG_PRGNAM=Faenza-Xfce
ORIG_FILENAME=shimmerproject-$ORIG_PRGNAM
+ORIG_DIRNAME=$ORIG_FILENAME-54290e6
ORIG_VERSION=v.$VERSION-0-gd3e85cf
ARCH=noarch
@@ -42,17 +43,14 @@ set -e
rm -rf $PKG
mkdir -p $OUTPUT $TMP $PKG/usr/share/icons
-
cd $PKG/usr/share/icons
-unzip $CWD/$ORIG_FILENAME-$ORIG_VERSION.zip || \
- { echo "Trying another name..." ; unzip $CWD/v.${VERSION} ; }
-
+tar xvf $CWD/$ORIG_FILENAME-$ORIG_VERSION.tar.gz
chown -R root:root .
find . -type f -name '.*' -delete
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
-mv $ORIG_FILENAME-* $ORIG_PRGNAM
+mv $ORIG_DIRNAME $ORIG_PRGNAM
cd $ORIG_PRGNAM
sed -i '/^Inherits/s/-Dark,Faenza/,Faenza-Dark/' index.theme
find . -type f -name '*.svg.png' | while read i ; do mv $i ${i/.svg/} ; done