diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2012-12-24 16:19:49 +0100 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-24 16:20:48 +0100 |
commit | ed5f6d0ffd010c0ed97e1d0eecb74c1ae5f33307 (patch) | |
tree | 03730eb994cab53330b0e72ac9d851cf16828cac /desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild | |
parent | e7b01d9ebff23efc18baa5c67543256d1da91343 (diff) | |
download | slackbuilds-ed5f6d0ffd010c0ed97e1d0eecb74c1ae5f33307.tar.gz |
desktop/faenza-icon-theme: Updated for version 1.3, cleanups
Added the possibility to install an emesene theme,
changed homepage
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 0a47e112c2..3a95c9dc98 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 |