From ed5f6d0ffd010c0ed97e1d0eecb74c1ae5f33307 Mon Sep 17 00:00:00 2001 From: Nishant Limbachia Date: Mon, 24 Dec 2012 16:19:49 +0100 Subject: 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 --- desktop/faenza-icon-theme/README | 6 +++- .../faenza-icon-theme/faenza-icon-theme.SlackBuild | 42 +++++++++++++++++----- desktop/faenza-icon-theme/faenza-icon-theme.info | 8 ++--- desktop/faenza-icon-theme/slack-desc | 4 +-- 4 files changed, 44 insertions(+), 16 deletions(-) diff --git a/desktop/faenza-icon-theme/README b/desktop/faenza-icon-theme/README index cc5f86c75180..a6b2e85cfad0 100644 --- a/desktop/faenza-icon-theme/README +++ b/desktop/faenza-icon-theme/README @@ -1,4 +1,8 @@ -Faenza icon theme for GNOME and XFCE desktop. +Repackaging for Slackware of Faenza icon theme for GNOME and +XFCE desktop. Alternate home page for more information on the theme. http://tiheum.deviantart.com/art/Faenza-Icons-173323228 + +If you use emesene, you can choose to install emesene +theme by invoking the script with EMESENE=yes. diff --git a/desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild b/desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild index 0a47e112c2a8..3a95c9dc9898 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 # # 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 diff --git a/desktop/faenza-icon-theme/faenza-icon-theme.info b/desktop/faenza-icon-theme/faenza-icon-theme.info index 10dcc39f2963..d144e12a11b0 100644 --- a/desktop/faenza-icon-theme/faenza-icon-theme.info +++ b/desktop/faenza-icon-theme/faenza-icon-theme.info @@ -1,8 +1,8 @@ PRGNAM="faenza-icon-theme" -VERSION="1.1" -HOMEPAGE="https://code.google.com/p/faenza-icon-theme/" -DOWNLOAD="https://faenza-icon-theme.googlecode.com/files/faenza-icon-theme_1.1.tar.gz" -MD5SUM="a7385a92226a3b3ab3949952149fe3a3" +VERSION="1.3" +HOMEPAGE="http://tiheum.deviantart.com/art/Faenza-Icons-173323228" +DOWNLOAD="https://faenza-icon-theme.googlecode.com/files/faenza-icon-theme_1.3.zip" +MD5SUM="08a9d1567ee6e90dd5e2c271461c7390" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/desktop/faenza-icon-theme/slack-desc b/desktop/faenza-icon-theme/slack-desc index b1fd704bb519..d5459d5acdca 100644 --- a/desktop/faenza-icon-theme/slack-desc +++ b/desktop/faenza-icon-theme/slack-desc @@ -8,10 +8,10 @@ |-----handy-ruler------------------------------------------------------| faenza-icon-theme: faenza-icon-theme (gnome icon theme) faenza-icon-theme: -faenza-icon-theme: Repackaging of popular Faenza icon theme for GNOME. +faenza-icon-theme: Repackaging of popular Faenza icon theme for Slackware. faenza-icon-theme: +faenza-icon-theme: Home Page: http://tiheum.deviantart.com/art/Faenza-Icons-173323228 faenza-icon-theme: -faenza-icon-theme: Home Page: https://code.google.com/p/faenza-icon-theme/ faenza-icon-theme: faenza-icon-theme: faenza-icon-theme: -- cgit v1.2.3