diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2016-08-27 23:52:03 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-08-28 00:22:59 +0100 |
commit | 2b71e284e253ea6af0d455aadbde83ceb20bc95a (patch) | |
tree | 88b6e52db431f183531f70031ce92025b1c0cddd /desktop | |
parent | 27c06ad764a7a2fd3b3c212b8e8264875b5559c7 (diff) | |
download | slackbuilds-2b71e284e253ea6af0d455aadbde83ceb20bc95a.tar.gz |
desktop/gtk-theme-Greybird: Added (Desktop Suite for Xfce).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/gtk-theme-Greybird/README | 5 | ||||
-rw-r--r-- | desktop/gtk-theme-Greybird/doinst.sh | 13 | ||||
-rw-r--r-- | desktop/gtk-theme-Greybird/gtk-theme-Greybird.SlackBuild | 65 | ||||
-rw-r--r-- | desktop/gtk-theme-Greybird/gtk-theme-Greybird.info | 10 | ||||
-rw-r--r-- | desktop/gtk-theme-Greybird/slack-desc | 19 |
5 files changed, 112 insertions, 0 deletions
diff --git a/desktop/gtk-theme-Greybird/README b/desktop/gtk-theme-Greybird/README new file mode 100644 index 0000000000..d9185b2e3e --- /dev/null +++ b/desktop/gtk-theme-Greybird/README @@ -0,0 +1,5 @@ +gtk-theme-Greybird (Desktop Suite for Xfce) + +Greybird is a Desktop Suite for Xfce. + +Optional dependencies: gtk-engines, gtk-engines-unico, murrine. diff --git a/desktop/gtk-theme-Greybird/doinst.sh b/desktop/gtk-theme-Greybird/doinst.sh new file mode 100644 index 0000000000..9424ce43ff --- /dev/null +++ b/desktop/gtk-theme-Greybird/doinst.sh @@ -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 usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/desktop/gtk-theme-Greybird/gtk-theme-Greybird.SlackBuild b/desktop/gtk-theme-Greybird/gtk-theme-Greybird.SlackBuild new file mode 100644 index 0000000000..4521738dc5 --- /dev/null +++ b/desktop/gtk-theme-Greybird/gtk-theme-Greybird.SlackBuild @@ -0,0 +1,65 @@ +#!/bin/sh +# +# Slackware build script for gtk-theme-Greybird. +# +# Copyright 2016 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# 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="gtk-theme-Greybird" +VERSION=${VERSION:-3.20.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} +CWD=$(pwd) + +set -e + +SRCNAM="Greybird" + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +mkdir $PRGNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -C $PRGNAM-$VERSION +cd $PRGNAM-$VERSION +chown -R root:root . + +# remove Unity and git stuff. +rm -rf $SRCNAM-$VERSION/{.gitignore,unity,ubiquity-panel-bg.png} + +mkdir -p $PKG/usr/share/themes +cp -a $SRCNAM-$VERSION $PKG/usr/share/themes/Greybird + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/share/themes/Greybird/{LICENSE.*,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 +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/desktop/gtk-theme-Greybird/gtk-theme-Greybird.info b/desktop/gtk-theme-Greybird/gtk-theme-Greybird.info new file mode 100644 index 0000000000..36e82773c9 --- /dev/null +++ b/desktop/gtk-theme-Greybird/gtk-theme-Greybird.info @@ -0,0 +1,10 @@ +PRGNAM="gtk-theme-Greybird" +VERSION="3.20.0" +HOMEPAGE="https://github.com/shimmerproject/Greybird/" +DOWNLOAD="https://github.com/shimmerproject/Greybird/archive/v3.20.0/Greybird-3.20.0.tar.gz" +MD5SUM="5d370ea191fa53e7ab44b7763a1b9180" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Edinaldo P. Silva" +EMAIL="edps.mundognu@gmail.com" diff --git a/desktop/gtk-theme-Greybird/slack-desc b/desktop/gtk-theme-Greybird/slack-desc new file mode 100644 index 0000000000..01d6aac45a --- /dev/null +++ b/desktop/gtk-theme-Greybird/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------------------------------------------------------| +gtk-theme-Greybird: gtk-theme-Greybird (Desktop Suite for Xfce) +gtk-theme-Greybird: +gtk-theme-Greybird: Greybird is a Desktop Suite for Xfce. +gtk-theme-Greybird: +gtk-theme-Greybird: Home page: https://github.com/shimmerproject/Greybird/ +gtk-theme-Greybird: +gtk-theme-Greybird: +gtk-theme-Greybird: +gtk-theme-Greybird: +gtk-theme-Greybird: +gtk-theme-Greybird: |