desktop/Tela-icon-theme: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
9c0f22597d
commit
f8638bbbfe
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
# Slackware build script for Tela-icon-theme
|
# 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.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -50,8 +51,8 @@ cd $TMP
|
||||||
rm -rf $PRGNAM-$SRCVER
|
rm -rf $PRGNAM-$SRCVER
|
||||||
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
|
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
|
||||||
cd $PRGNAM-$SRCVER
|
cd $PRGNAM-$SRCVER
|
||||||
|
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
|
chmod -R u+w,go-w,a+rX-st .
|
||||||
|
|
||||||
# This slackbuild installs the standard color variant by default
|
# This slackbuild installs the standard color variant by default
|
||||||
# Other color variants are available
|
# 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 \
|
./install.sh standard $BLACK $BLUE $BROWN $GREEN $GREY $ORANGE $PINK $PURPLE $RED $YELLOW \
|
||||||
$MANJARO $UBUNTU -d $PKG/usr/share/icons
|
$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
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp AUTHORS COPYING README.md $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
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
find . -type l \
|
find . -type l \
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="Tela-icon-theme"
|
PRGNAM="Tela-icon-theme"
|
||||||
VERSION="2023_02_03"
|
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"
|
DOWNLOAD="https://github.com/vinceliuice/Tela-icon-theme/archive/2023-02-03/Tela-icon-theme-2023-02-03.tar.gz"
|
||||||
MD5SUM="8a336a7eb8583ef34bfd84868ca04d26"
|
MD5SUM="8a336a7eb8583ef34bfd84868ca04d26"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
MAINTAINER="Isaac Yu"
|
MAINTAINER="Johannes Schoepfer"
|
||||||
EMAIL="isaacyu@protonmail.com"
|
EMAIL="slackbuilds@schoepfer.info"
|
||||||
|
|
|
@ -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
|
|
|
@ -15,5 +15,5 @@ Tela-icon-theme:
|
||||||
Tela-icon-theme:
|
Tela-icon-theme:
|
||||||
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:
|
Tela-icon-theme:
|
||||||
|
|
Loading…
Reference in New Issue