diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-03-20 00:26:12 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-20 00:26:12 +0700 |
commit | 7d4da63b00c0606d3d052480e2a46e9ef6bc100d (patch) | |
tree | fd5e6ad249fc5c401d78754a59c230700e7893bc /desktop/arc-theme-Red | |
parent | 43b332924ee43233091e6287dfcf6c59daf63574 (diff) |
desktop/arc-theme-Red: Added (GTK Theme).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/arc-theme-Red')
-rw-r--r-- | desktop/arc-theme-Red/README | 11 | ||||
-rw-r--r-- | desktop/arc-theme-Red/arc-theme-Red.SlackBuild | 103 | ||||
-rw-r--r-- | desktop/arc-theme-Red/arc-theme-Red.info | 10 | ||||
-rw-r--r-- | desktop/arc-theme-Red/slack-desc | 19 |
4 files changed, 143 insertions, 0 deletions
diff --git a/desktop/arc-theme-Red/README b/desktop/arc-theme-Red/README new file mode 100644 index 0000000000000..a7e124b271860 --- /dev/null +++ b/desktop/arc-theme-Red/README @@ -0,0 +1,11 @@ +arc-theme-Red (A red variation of Horst3180's Arc Theme). + +Arc is a flat theme with transparent elements for GTK3, GTK2 and +Gnome-Shell which supports GTK 3 and GTK 2 based desktop environments +like Gnome, Unity, Budgie, Pantheon, XFCE, Mate, etc. + +Arc Red is available in three variants: + + * Arc-Red, + * Arc-Red-Darker and + * Arc-Red-Dark. diff --git a/desktop/arc-theme-Red/arc-theme-Red.SlackBuild b/desktop/arc-theme-Red/arc-theme-Red.SlackBuild new file mode 100644 index 0000000000000..cc07fe3983c39 --- /dev/null +++ b/desktop/arc-theme-Red/arc-theme-Red.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh +# +# Slackware build script for arc-theme-Red. +# +# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT +# OWNER OR CONTRIBUTORS 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=arc-theme-Red +VERSION=${VERSION:-1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +SRCVER="1" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz +mv $PRGNAM-$SRCVER $PRGNAM-$VERSION +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 {} \; + +CFLAGS="$SLKCFLAGS" +CXXFLAGS="$SLKCFLAGS" +./autogen.sh \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-gnome-shell \ + --disable-unity \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING HACKING.md 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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/desktop/arc-theme-Red/arc-theme-Red.info b/desktop/arc-theme-Red/arc-theme-Red.info new file mode 100644 index 0000000000000..4ef7f411a3671 --- /dev/null +++ b/desktop/arc-theme-Red/arc-theme-Red.info @@ -0,0 +1,10 @@ +PRGNAM="arc-theme-Red" +VERSION="1.0" +HOMEPAGE="https://github.com/mclmza/arc-theme-Red" +DOWNLOAD="https://github.com/mclmza/arc-theme-Red/archive/1/arc-theme-Red-1.tar.gz" +MD5SUM="3539b67264d727a46d2f0c5c97bc24c8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Edinaldo P. Silva" +EMAIL="edps.mundognu@gmail.com" diff --git a/desktop/arc-theme-Red/slack-desc b/desktop/arc-theme-Red/slack-desc new file mode 100644 index 0000000000000..5431dcea9dd67 --- /dev/null +++ b/desktop/arc-theme-Red/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------------------------------------------------------| +arc-theme-Red: arc-theme-Red (A red variation of Horst3180's Arc Theme). +arc-theme-Red: +arc-theme-Red: Arc is a flat theme with transparent elements for GTK3, GTK2 and +arc-theme-Red: Gnome-Shell which supports GTK 3 and GTK 2 based desktop environments +arc-theme-Red: like Gnome, Unity, Budgie, Pantheon, XFCE, Mate, etc. +arc-theme-Red: +arc-theme-Red: Homepage: https://github.com/horst3180/arc-theme-Red +arc-theme-Red: +arc-theme-Red: +arc-theme-Red: +arc-theme-Red: |