diff options
author | Johannes Schoepfer <slackbuilds@schoepfer.info> | 2023-06-16 18:56:44 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-06-16 18:56:44 +0700 |
commit | f8638bbbfe2e0c817d3ad4ccc4c01ecc2907954f (patch) | |
tree | a13a8a0db9a012240847a2109f76c55e495dc3d0 /desktop/Tela-icon-theme | |
parent | 9c0f22597daab4a025c7b3a95f766ba0515329bc (diff) |
desktop/Tela-icon-theme: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/Tela-icon-theme')
-rw-r--r-- | desktop/Tela-icon-theme/Tela-icon-theme.SlackBuild | 14 | ||||
-rw-r--r-- | desktop/Tela-icon-theme/Tela-icon-theme.info | 6 | ||||
-rw-r--r-- | desktop/Tela-icon-theme/doinst.sh | 13 | ||||
-rw-r--r-- | desktop/Tela-icon-theme/slack-desc | 2 |
4 files changed, 15 insertions, 20 deletions
diff --git a/desktop/Tela-icon-theme/Tela-icon-theme.SlackBuild b/desktop/Tela-icon-theme/Tela-icon-theme.SlackBuild index 92ad4ba9d2fc..5a168de72381 100644 --- a/desktop/Tela-icon-theme/Tela-icon-theme.SlackBuild +++ b/desktop/Tela-icon-theme/Tela-icon-theme.SlackBuild @@ -2,7 +2,8 @@ # Slackware build script for Tela-icon-theme -# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2023 Isaac Yu +# Copyright 2023 Johannes Schoepfer, Germany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -50,8 +51,8 @@ cd $TMP rm -rf $PRGNAM-$SRCVER tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz cd $PRGNAM-$SRCVER - chown -R root:root . +chmod -R u+w,go-w,a+rX-st . # This slackbuild installs the standard color variant by default # Other color variants are available @@ -76,13 +77,20 @@ 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 + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp AUTHORS COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG find . -type l \ diff --git a/desktop/Tela-icon-theme/Tela-icon-theme.info b/desktop/Tela-icon-theme/Tela-icon-theme.info index daa7225ec157..5ee5c8efef44 100644 --- a/desktop/Tela-icon-theme/Tela-icon-theme.info +++ b/desktop/Tela-icon-theme/Tela-icon-theme.info @@ -1,10 +1,10 @@ PRGNAM="Tela-icon-theme" VERSION="2023_02_03" -HOMEPAGE="https://www.pling.com/p/1279924" +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_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Isaac Yu" -EMAIL="isaacyu@protonmail.com" +MAINTAINER="Johannes Schoepfer" +EMAIL="slackbuilds@schoepfer.info" diff --git a/desktop/Tela-icon-theme/doinst.sh b/desktop/Tela-icon-theme/doinst.sh deleted file mode 100644 index aea0f894eb32..000000000000 --- a/desktop/Tela-icon-theme/doinst.sh +++ /dev/null @@ -1,13 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -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 [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi diff --git a/desktop/Tela-icon-theme/slack-desc b/desktop/Tela-icon-theme/slack-desc index d7a742fe7211..40be4af2dce0 100644 --- a/desktop/Tela-icon-theme/slack-desc +++ b/desktop/Tela-icon-theme/slack-desc @@ -15,5 +15,5 @@ Tela-icon-theme: Tela-icon-theme: Tela-icon-theme: Tela-icon-theme: -Tela-icon-theme: +Tela-icon-theme: https://github.com/vinceliuice/Tela-icon-theme Tela-icon-theme: |