mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
desktop/Tela-icon-theme: Added (flat icon theme).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
cd257ddc96
commit
10005444b9
5 changed files with 145 additions and 0 deletions
11
desktop/Tela-icon-theme/README
Normal file
11
desktop/Tela-icon-theme/README
Normal file
|
@ -0,0 +1,11 @@
|
|||
Tela-icon-theme is a flat colorful design icon theme.
|
||||
|
||||
There are 13 color variants:
|
||||
standard, black, blue, brown, green, grey, orange,
|
||||
pink, purple, red, yellow, manjaro, ubuntu
|
||||
|
||||
Only the standard color variant is installed by default.
|
||||
Select additional color variants by passing variables to the script.
|
||||
|
||||
For example, to select the Manjaro and Ubuntu color variants:
|
||||
MANJARO=yes UBUNTU=yes ./tela-icon-theme.SlackBuild
|
92
desktop/Tela-icon-theme/Tela-icon-theme.SlackBuild
Normal file
92
desktop/Tela-icon-theme/Tela-icon-theme.SlackBuild
Normal file
|
@ -0,0 +1,92 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Slackware build script for Tela-icon-theme
|
||||
|
||||
# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM="Tela-icon-theme"
|
||||
SRCNAM="tela-icon-theme"
|
||||
SRCVER=${SRCVER:-2022-02-21}
|
||||
VERSION=${VERSION:-2022_02_21}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
ARCH=noarch
|
||||
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$SRCVER
|
||||
tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
|
||||
cd $PRGNAM-$SRCVER
|
||||
|
||||
chown -R root:root .
|
||||
|
||||
# This slackbuild installs the standard color variant by default
|
||||
# Other color variants are available
|
||||
if [ "${BLACK:-no}" == yes ] ; then BLACK=black ; fi
|
||||
if [ "${BLUE:-no}" == yes ] ; then BLUE=blue ; fi
|
||||
if [ "${BROWN:-no}" == yes ] ; then BROWN=brown ; fi
|
||||
if [ "${GREEN:-no}" == yes ] ; then GREEN=green ; fi
|
||||
if [ "${GREY:-no}" == yes ] ; then GREY=grey ; fi
|
||||
if [ "${ORANGE:-no}" == yes ] ; then ORANGE=orange ; fi
|
||||
if [ "${PINK:-no}" == yes ] ; then PINK=pink ; fi
|
||||
if [ "${PURPLE:-no}" == yes ] ; then PURPLE=purple ; fi
|
||||
if [ "${RED:-no}" == yes ] ; then RED=red ; fi
|
||||
if [ "${YELLOW:-no}" == yes ] ; then YELLOW=yellow ; fi
|
||||
if [ "${MANJARO:-no}" == yes ] ; then MANJARO=manjaro ; fi
|
||||
if [ "${UBUNTU:-no}" == yes ] ; then UBUNTU=ubuntu ; fi
|
||||
|
||||
# I cannot install all of the color variants at once. To put it in another way:
|
||||
# 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
|
||||
|
||||
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 \
|
||||
-printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete | \
|
||||
sed 's,cd \./,cd ,' >> $PKG/install/doinst.sh
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
|
10
desktop/Tela-icon-theme/Tela-icon-theme.info
Normal file
10
desktop/Tela-icon-theme/Tela-icon-theme.info
Normal file
|
@ -0,0 +1,10 @@
|
|||
PRGNAM="Tela-icon-theme"
|
||||
VERSION="2022_02_21"
|
||||
HOMEPAGE="https://www.pling.com/p/1279924"
|
||||
DOWNLOAD="https://github.com/vinceliuice/tela-icon-theme/archive/2022-02-21/tela-icon-theme-2022-02-21.tar.gz"
|
||||
MD5SUM="e2db46e88bd6da7e312d27dd5333d3e1"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Isaac Yu"
|
||||
EMAIL="isaacyu1@isaacyu1.com"
|
13
desktop/Tela-icon-theme/doinst.sh
Normal file
13
desktop/Tela-icon-theme/doinst.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
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
|
19
desktop/Tela-icon-theme/slack-desc
Normal file
19
desktop/Tela-icon-theme/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
Tela-icon-theme: Tela-icon-theme (flat icon theme)
|
||||
Tela-icon-theme:
|
||||
Tela-icon-theme: Tela-icon-theme is a flat colorful design 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:
|
Loading…
Reference in a new issue