diff options
author | Leo C <leoc@gmx.com> | 2018-12-15 08:05:47 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-12-15 08:05:47 +0700 |
commit | bc86c627da6cb4fa1943362cb03b824a80d8143c (patch) | |
tree | 5e738a297c465eccdd1c58df0abf983ecbc41eb0 /desktop/materia-theme | |
parent | c517d14d0b56fb03a6e04829cfb8bdb6bb24947d (diff) | |
download | slackbuilds-bc86c627da6cb4fa1943362cb03b824a80d8143c.tar.gz |
desktop/materia-theme: Added (A Material Design theme).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/materia-theme')
-rw-r--r-- | desktop/materia-theme/README | 6 | ||||
-rw-r--r-- | desktop/materia-theme/materia-theme.SlackBuild | 67 | ||||
-rw-r--r-- | desktop/materia-theme/materia-theme.info | 10 | ||||
-rw-r--r-- | desktop/materia-theme/slack-desc | 19 |
4 files changed, 102 insertions, 0 deletions
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: |