diff options
author | Johannes Schoepfer <slackbuilds@schoepfer.info> | 2023-07-02 21:03:40 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-02 21:27:42 +0700 |
commit | 2a0e5b16de8716501dcda8cac23844fff6dfdce9 (patch) | |
tree | 39c07518fa260dedbbc72de2eac421d77955b695 /desktop | |
parent | 54eef7e1d93986325d491eb1b88f3cdd5a110341 (diff) |
desktop/Tela-icon-theme: Updated for version 2023_06_25.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/Tela-icon-theme/Tela-icon-theme.SlackBuild | 30 | ||||
-rw-r--r-- | desktop/Tela-icon-theme/Tela-icon-theme.info | 6 | ||||
-rw-r--r-- | desktop/Tela-icon-theme/doinst.sh | 7 | ||||
-rw-r--r-- | desktop/Tela-icon-theme/douninst.sh | 6 |
4 files changed, 31 insertions, 18 deletions
diff --git a/desktop/Tela-icon-theme/Tela-icon-theme.SlackBuild b/desktop/Tela-icon-theme/Tela-icon-theme.SlackBuild index 5a168de72381f..02265f1952be9 100644 --- a/desktop/Tela-icon-theme/Tela-icon-theme.SlackBuild +++ b/desktop/Tela-icon-theme/Tela-icon-theme.SlackBuild @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="Tela-icon-theme" -SRCVER=${SRCVER:-2023-02-03} -VERSION=${VERSION:-2023_02_03} +SRCVER=${SRCVER:-2023-06-25} +VERSION=${VERSION:-2023_06_25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -73,17 +73,15 @@ if [ "${UBUNTU:-no}" == yes ] ; then UBUNTU=ubuntu ; fi # This slackbuild will not install with the following command: # ./install.sh -a -d $PKG/usr/share/icons # Instead, you will have to select additional color variants by passing variables to the script -mkdir -p $PKG/usr/share/icons -./install.sh standard $BLACK $BLUE $BROWN $GREEN $GREY $ORANGE $PINK $PURPLE $RED $YELLOW \ - $MANJARO $UBUNTU -d $PKG/usr/share/icons - -# Remove broke symlinks -rm $PKG/usr/share/icons/Tela-dark/22/devices/uav.svg -rm $PKG/usr/share/icons/Tela-dark/24/devices/uav.svg -rm $PKG/usr/share/icons/Tela/22/devices/uav.svg -rm $PKG/usr/share/icons/Tela/24/devices/uav.svg -rm $PKG/usr/share/icons/Tela/24/panel/org.xfce.panel.showdesktop.svg -rm $PKG/usr/share/icons/Tela/24/panel/org.xfce.xfdesktop.svg +sed -i '/gtk-update-icon-cache/d' install.sh +./install.sh standard $BLACK $BLUE $BROWN $GREEN $GREY $ORANGE $PINK \ + $PURPLE $RED $YELLOW $MANJARO $UBUNTU -d $PKG/usr/share/icons + +# Remove dangling symlinks +find $PKG/usr/share/icons -xtype l -delete + +# hardlink duplicates +hardlink -c $PKG/usr/share/icons mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp AUTHORS COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION @@ -91,9 +89,11 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc - cd $PKG find . -type l \ -printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete | \ - sed 's,cd \./,cd ,' >> $PKG/install/doinst.sh + sed 's,cd \./,cd ,' > $PKG/install/doinst.sh +cat $CWD/doinst.sh >> $PKG/install/doinst.sh +cat $CWD/douninst.sh >> $PKG/install/douninst.sh + /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/desktop/Tela-icon-theme/Tela-icon-theme.info b/desktop/Tela-icon-theme/Tela-icon-theme.info index 5ee5c8efef44d..1a68573c59062 100644 --- a/desktop/Tela-icon-theme/Tela-icon-theme.info +++ b/desktop/Tela-icon-theme/Tela-icon-theme.info @@ -1,8 +1,8 @@ PRGNAM="Tela-icon-theme" -VERSION="2023_02_03" +VERSION="2023_06_25" HOMEPAGE="https://github.com/vinceliuice/Tela-icon-theme" -DOWNLOAD="https://github.com/vinceliuice/Tela-icon-theme/archive/2023-02-03/Tela-icon-theme-2023-02-03.tar.gz" -MD5SUM="8a336a7eb8583ef34bfd84868ca04d26" +DOWNLOAD="https://github.com/vinceliuice/Tela-icon-theme/archive/2023-06-25/Tela-icon-theme-2023-06-25.tar.gz" +MD5SUM="ec9c3b1c0fcca8fd383c9e63b25bb3e5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/desktop/Tela-icon-theme/doinst.sh b/desktop/Tela-icon-theme/doinst.sh new file mode 100644 index 0000000000000..885fb18c3168e --- /dev/null +++ b/desktop/Tela-icon-theme/doinst.sh @@ -0,0 +1,7 @@ +for theme_dir in usr/share/icons/Tela usr/share/icons/Tela-dark; do + if [ -e $theme_dir/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f $theme_dir >/dev/null 2>&1 + fi + fi +done diff --git a/desktop/Tela-icon-theme/douninst.sh b/desktop/Tela-icon-theme/douninst.sh new file mode 100644 index 0000000000000..a3e98625db27b --- /dev/null +++ b/desktop/Tela-icon-theme/douninst.sh @@ -0,0 +1,6 @@ +for theme_dir in usr/share/icons/Tela usr/share/icons/Tela-dark; do + if [ -e $theme_dir/icon-theme.cache ]; then + rm $theme_dir/icon-theme.cache + rmdir $theme_dir + fi +done |