diff options
Diffstat (limited to 'desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild')
-rw-r--r-- | desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild | 42 |
1 files changed, 33 insertions, 9 deletions
diff --git a/desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild b/desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild index 0a47e112c2a82..3a95c9dc98988 100644 --- a/desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild +++ b/desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild @@ -1,9 +1,9 @@ #!/bin/sh # Slackware Package Build Script for Faenza icon theme -# Home Page: https://code.google.com/p/faenza-icon-theme/ +# Home Page: http://tiheum.deviantart.com/art/Faenza-Icons-173323228 -# Copyright (c) 2011, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2011-2013, Nishant Limbachia, Hoffman Estates, IL, USA # <nishant _AT_ mnspace _DOT_ net> # All rights reserved. @@ -26,7 +26,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="faenza-icon-theme" -VERSION=${VERSION:-1.1} +VERSION=${VERSION:-1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -39,19 +39,43 @@ CWD=$(pwd) set -e -rm -fr $TMP/${PRGNAM}_${VERSION} $PKG -mkdir -p $TMP $PKG $OUTPUT $TMP/${PRGNAM}_${VERSION} -cd $TMP/${PRGNAM}_${VERSION} -tar -xvf $CWD/${PRGNAM}_${VERSION}.tar.gz +# default is to not install emesene theme, if you need this +# run the script with EMESENE=yes +EMESENE=${EMESENE:-no} + +rm -fr $TMP/$PRGNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT $TMP/$PRGNAM-$VERSION +cd $TMP/$PRGNAM-$VERSION +unzip $CWD/$PRGNAM\_$VERSION.zip chown -R root.root . find . -type f -exec chmod 644 {} \; find . -type d -exec chmod 755 {} \; +TARBALLS="Faenza-Ambiance Faenza-Dark Faenza-Darker Faenza-Darkest Faenza-Radiance Faenza" + +for i in $TARBALLS; do + tar -xvf $i.tar.gz +done + mkdir -p $PKG/usr/share/icons -cp -a Faenza Faenza-Dark Faenza-Darker Faenza-Darkest $PKG/usr/share/icons + +cp -a Faenza \ + Faenza-Dark \ + Faenza-Darker \ + Faenza-Darkest \ + Faenza-Ambiance \ + Faenza-Radiance \ + $PKG/usr/share/icons + +if [ "$EMESENE" = "yes" ]; then + tar -xvf emesene-faenza-theme.tar.gz + cp -a emesene $PKG/usr/share +fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp AUTHORS COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION +cp AUTHORS COPYING ChangeLog README \ + INSTALL UNINSTALL $PKG/usr/doc/$PRGNAM-$VERSION + cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |