From 81b95b67f8230e19858cefd378173360cedc9e31 Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Wed, 4 Jan 2017 17:19:47 -0600 Subject: [PATCH] desktop/paper-icon-theme: Updated for version 1.4.0. Signed-off-by: Robby Workman --- desktop/paper-icon-theme/doinst.sh | 11 +++++++++-- desktop/paper-icon-theme/paper-icon-theme.SlackBuild | 8 ++++---- desktop/paper-icon-theme/paper-icon-theme.info | 6 +++--- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/desktop/paper-icon-theme/doinst.sh b/desktop/paper-icon-theme/doinst.sh index 9424ce43ff..f7fa2692de 100644 --- a/desktop/paper-icon-theme/doinst.sh +++ b/desktop/paper-icon-theme/doinst.sh @@ -6,8 +6,15 @@ if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 fi -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then +if [ -e usr/share/icons/Paper/icon-theme.cache ]; then if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + /usr/bin/gtk-update-icon-cache usr/share/icons/Paper>/dev/null 2>&1 fi fi + +if [ -e usr/share/icons/Paper-Mono-Dark/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/Paper-Mono-Dark >/dev/null 2>&1 + fi +fi + diff --git a/desktop/paper-icon-theme/paper-icon-theme.SlackBuild b/desktop/paper-icon-theme/paper-icon-theme.SlackBuild index feb4394639..ddaca03e2e 100644 --- a/desktop/paper-icon-theme/paper-icon-theme.SlackBuild +++ b/desktop/paper-icon-theme/paper-icon-theme.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for paper-icon-theme. # -# Copyright 2016 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="paper-icon-theme" -VERSION=${VERSION:-1.3.4} +VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -50,10 +50,10 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p $PKG/usr/share/icons -cp -a Paper $PKG/usr/share/icons/ +mv Paper Paper-Mono-Dark $PKG/usr/share/icons/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING LICENSE* README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/desktop/paper-icon-theme/paper-icon-theme.info b/desktop/paper-icon-theme/paper-icon-theme.info index 748e4df35a..f75f7caf22 100644 --- a/desktop/paper-icon-theme/paper-icon-theme.info +++ b/desktop/paper-icon-theme/paper-icon-theme.info @@ -1,8 +1,8 @@ PRGNAM="paper-icon-theme" -VERSION="1.3.4" +VERSION="1.4.0" HOMEPAGE="https://github.com/snwh/paper-icon-theme" -DOWNLOAD="https://github.com/snwh/paper-icon-theme/archive/v1.3.4/paper-icon-theme-1.3.4.tar.gz" -MD5SUM="31ade3eec6ca5e0d705c84805b4db7fb" +DOWNLOAD="https://github.com/snwh/paper-icon-theme/archive/v1.4.0/paper-icon-theme-1.4.0.tar.gz" +MD5SUM="076e1dfa1bc5928f4c6616ffd933926a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""