desktop/Tela-icon-theme: Updated for version 2023_06_25.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
54eef7e1d9
commit
2a0e5b16de
|
@ -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
|
||||
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 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
|
||||
# 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
|
||||
|
|
|
@ -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=""
|
||||
|
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue