summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Isaac Yu2022-04-16 04:49:27 +0200
committer Willy Sudiarto Raharjo2022-04-16 07:12:53 +0200
commitcd257ddc9698182ec44b8bcee88b723c5183daca (patch)
treec4ff108a41d40d9fc4ca5ce585aa6b1246c5cc7d
parent86ddea7b2e5226e04ae87a2f71222ca997729984 (diff)
downloadslackbuilds-cd257ddc9698182ec44b8bcee88b723c5183daca.tar.gz
desktop/Matcha-gtk-theme: Added (flat design theme).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/Matcha-gtk-theme/Matcha-gtk-theme.SlackBuild77
-rw-r--r--desktop/Matcha-gtk-theme/Matcha-gtk-theme.info10
-rw-r--r--desktop/Matcha-gtk-theme/README3
-rw-r--r--desktop/Matcha-gtk-theme/slack-desc19
4 files changed, 109 insertions, 0 deletions
diff --git a/desktop/Matcha-gtk-theme/Matcha-gtk-theme.SlackBuild b/desktop/Matcha-gtk-theme/Matcha-gtk-theme.SlackBuild
new file mode 100644
index 0000000000..48447faef7
--- /dev/null
+++ b/desktop/Matcha-gtk-theme/Matcha-gtk-theme.SlackBuild
@@ -0,0 +1,77 @@
+#!/bin/bash
+
+# Slackware build script for Matcha-gtk-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="Matcha-gtk-theme"
+SRCVER=${SRCVER:-2021-12-25}
+VERSION=${VERSION:-2021_12_25}
+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/$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG/usr/share/themes
+./install.sh -d $PKG/usr/share/themes
+
+# Plank theme
+install -Dm644 src/plank/dock.theme -t $PKG/usr/share/plank/themes/Matcha
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp AUTHORS HACKING LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Firefox & gedit theme
+cp -r src/extra/* $PKG/usr/doc/$PRGNAM-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/desktop/Matcha-gtk-theme/Matcha-gtk-theme.info b/desktop/Matcha-gtk-theme/Matcha-gtk-theme.info
new file mode 100644
index 0000000000..245032318c
--- /dev/null
+++ b/desktop/Matcha-gtk-theme/Matcha-gtk-theme.info
@@ -0,0 +1,10 @@
+PRGNAM="Matcha-gtk-theme"
+VERSION="2021_12_25"
+HOMEPAGE="https://github.com/vinceliuice/Matcha-gtk-theme"
+DOWNLOAD="https://github.com/vinceliuice/Matcha-gtk-theme/archive/2021-12-25.tar.gz"
+MD5SUM="0bbfbad1750359961f0724901862cd50"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu1@isaacyu1.com"
diff --git a/desktop/Matcha-gtk-theme/README b/desktop/Matcha-gtk-theme/README
new file mode 100644
index 0000000000..0cfcc3ebc7
--- /dev/null
+++ b/desktop/Matcha-gtk-theme/README
@@ -0,0 +1,3 @@
+Matcha is a flat Design theme for GTK 3, GTK 2 and Gnome-Shell which
+supports GTK 3 and GTK 2 based desktop environments like Gnome, Unity
+Budgie, Pantheon, XFCE, Mate, etc.
diff --git a/desktop/Matcha-gtk-theme/slack-desc b/desktop/Matcha-gtk-theme/slack-desc
new file mode 100644
index 0000000000..882e99a83f
--- /dev/null
+++ b/desktop/Matcha-gtk-theme/slack-desc
@@ -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------------------------------------------------------|
+Matcha-gtk-theme: Matcha-gtk-theme (flat design theme)
+Matcha-gtk-theme:
+Matcha-gtk-theme: Matcha is a flat Design theme for GTK 3, GTK 2 and Gnome-Shell which
+Matcha-gtk-theme: supports GTK 3 and GTK 2 based desktop environments like Gnome,
+Matcha-gtk-theme: Unity, Budgie, Pantheon, XFCE, Mate, etc.
+Matcha-gtk-theme:
+Matcha-gtk-theme: Home page: https://vinceliuice.github.io/theme-matcha.html
+Matcha-gtk-theme:
+Matcha-gtk-theme:
+Matcha-gtk-theme:
+Matcha-gtk-theme: