From bc86c627da6cb4fa1943362cb03b824a80d8143c Mon Sep 17 00:00:00 2001 From: Leo C Date: Sat, 15 Dec 2018 08:05:47 +0700 Subject: desktop/materia-theme: Added (A Material Design theme). Signed-off-by: Willy Sudiarto Raharjo --- desktop/materia-theme/README | 6 +++ desktop/materia-theme/materia-theme.SlackBuild | 67 ++++++++++++++++++++++++++ desktop/materia-theme/materia-theme.info | 10 ++++ desktop/materia-theme/slack-desc | 19 ++++++++ 4 files changed, 102 insertions(+) create mode 100644 desktop/materia-theme/README create mode 100644 desktop/materia-theme/materia-theme.SlackBuild create mode 100644 desktop/materia-theme/materia-theme.info create mode 100644 desktop/materia-theme/slack-desc (limited to 'desktop') diff --git a/desktop/materia-theme/README b/desktop/materia-theme/README new file mode 100644 index 0000000000..55dac77726 --- /dev/null +++ b/desktop/materia-theme/README @@ -0,0 +1,6 @@ +Materia (formerly Flat-Plat) is a Material Design theme for GNOME/GTK+ +based desktop environments. It supports GTK+ 3, GTK+ 2, GNOME Shell, +Budgie, Cinnamon, MATE, Unity, LightDM, GDM, Chrome theme, etc. + +Note: this is not the latest version but the last one supporting + GTK+ 3.18 and therefore suitable for Slackware 14.2 diff --git a/desktop/materia-theme/materia-theme.SlackBuild b/desktop/materia-theme/materia-theme.SlackBuild new file mode 100644 index 0000000000..5330170ef8 --- /dev/null +++ b/desktop/materia-theme/materia-theme.SlackBuild @@ -0,0 +1,67 @@ +#!/bin/sh + +# Slackware build script for materia-theme + +# Copyright 2018 Leonardo Citrolo, Italy +# 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. + +PRGNAM=materia-theme +VERSION=${VERSION:-20180928} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +CWD=$(pwd) +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-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +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 --dest $PKG/usr/share/themes + +find -L $PKG/usr/share/themes -type f -name index.theme -exec chmod 644 {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING HACKING.md README.md TODO.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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/desktop/materia-theme/materia-theme.info b/desktop/materia-theme/materia-theme.info new file mode 100644 index 0000000000..4590ccf1d3 --- /dev/null +++ b/desktop/materia-theme/materia-theme.info @@ -0,0 +1,10 @@ +PRGNAM="materia-theme" +VERSION="20180928" +HOMEPAGE="https://github.com/nana-4/materia-theme" +DOWNLOAD="https://github.com/nana-4/materia-theme/archive/v20180928/materia-theme-20180928.tar.gz" +MD5SUM="b794dc86b0c68daf336c0e8308007eaa" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="murrine" +MAINTAINER="Leo C." +EMAIL="leoc@gmx.com" diff --git a/desktop/materia-theme/slack-desc b/desktop/materia-theme/slack-desc new file mode 100644 index 0000000000..d9f831017b --- /dev/null +++ b/desktop/materia-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------------------------------------------------------| +materia-theme: materia-theme (A Material Design theme for GNOME/GTK+ based DEs) +materia-theme: +materia-theme: Materia (formerly Flat-Plat) is a Material Design theme for GNOME/GTK+ +materia-theme: based desktop environments. It supports GTK+ 3, GTK+ 2, GNOME Shell, +materia-theme: Budgie, Cinnamon, MATE, Unity, LightDM, GDM, Chrome theme, etc. +materia-theme: +materia-theme: +materia-theme: +materia-theme: +materia-theme: Homepage: https://github.com/nana-4/materia-theme +materia-theme: -- cgit v1.2.3