From f76e5062c6f9b7a0817d1add2439faf325ff7aa5 Mon Sep 17 00:00:00 2001 From: Edinaldo P. Silva Date: Tue, 30 Aug 2016 12:30:29 +0100 Subject: desktop/ceti-2-theme: Added (GTK2|GTK3 themes). Signed-off-by: David Spencer --- desktop/ceti-2-theme/README | 10 ++++ desktop/ceti-2-theme/ceti-2-theme.SlackBuild | 77 ++++++++++++++++++++++++++++ desktop/ceti-2-theme/ceti-2-theme.info | 10 ++++ desktop/ceti-2-theme/doinst.sh | 13 +++++ desktop/ceti-2-theme/slack-desc | 19 +++++++ 5 files changed, 129 insertions(+) create mode 100644 desktop/ceti-2-theme/README create mode 100644 desktop/ceti-2-theme/ceti-2-theme.SlackBuild create mode 100644 desktop/ceti-2-theme/ceti-2-theme.info create mode 100644 desktop/ceti-2-theme/doinst.sh create mode 100644 desktop/ceti-2-theme/slack-desc diff --git a/desktop/ceti-2-theme/README b/desktop/ceti-2-theme/README new file mode 100644 index 0000000000..81caf7d90f --- /dev/null +++ b/desktop/ceti-2-theme/README @@ -0,0 +1,10 @@ +ceti-2-theme (GTK2|GTK3 themes) + +ceti-2 is a theme for GTK 3, GTK 2 and Gnome-Shell. It supports GTK 3 +and GTK 2 based desktop environments like Gnome, Unity, Budgie, +Pantheon, etc. + +It is the Official continuation of ceti for Gnome 3.14, 3.16 and 3.18. +It has been completely revamped and is now based on Vertex. + +Optional dependencies: gtk-engines, gtk-engines-unico. diff --git a/desktop/ceti-2-theme/ceti-2-theme.SlackBuild b/desktop/ceti-2-theme/ceti-2-theme.SlackBuild new file mode 100644 index 0000000000..f5ed3c662c --- /dev/null +++ b/desktop/ceti-2-theme/ceti-2-theme.SlackBuild @@ -0,0 +1,77 @@ +#!/bin/sh +# +# Slackware build script for ceti-2-theme. +# +# 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="ceti-2-theme" +VERSION=${VERSION:-20150923} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} +CWD=$(pwd) + +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 {} \; + +./autogen.sh \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-silent-rules \ + --disable-gnome-shell \ + --disable-unity \ + --build=$ARCH-slackware-linux + +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING 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/ceti-2-theme/ceti-2-theme.info b/desktop/ceti-2-theme/ceti-2-theme.info new file mode 100644 index 0000000000..28f1dffa11 --- /dev/null +++ b/desktop/ceti-2-theme/ceti-2-theme.info @@ -0,0 +1,10 @@ +PRGNAM="ceti-2-theme" +VERSION="20150923" +HOMEPAGE="https://github.com/horst3180/Ceti-2-theme" +DOWNLOAD="https://github.com/horst3180/ceti-2-theme/archive/20150923/ceti-2-theme-20150923.tar.gz" +MD5SUM="5da8e4e6c2260113b12fafc0a682b389" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="murrine" +MAINTAINER="Edinaldo P. Silva" +EMAIL="edps.mundognu@gmail.com" diff --git a/desktop/ceti-2-theme/doinst.sh b/desktop/ceti-2-theme/doinst.sh new file mode 100644 index 0000000000..9424ce43ff --- /dev/null +++ b/desktop/ceti-2-theme/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/ceti-2-theme/slack-desc b/desktop/ceti-2-theme/slack-desc new file mode 100644 index 0000000000..efcdc3ee26 --- /dev/null +++ b/desktop/ceti-2-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------------------------------------------------------| +ceti-2-theme: ceti-2-theme (GTK2|GTK3 themes) +ceti-2-theme: +ceti-2-theme: ceti-2 is a theme for GTK 3, GTK 2 and Gnome-Shell. It supports GTK 3 +ceti-2-theme: and GTK 2 based desktop environments like Gnome, Unity, Budgie, +ceti-2-theme: Pantheon, etc. +ceti-2-theme: +ceti-2-theme: It is the Official continuation of Ceti for Gnome 3.14, 3.16 and 3.18. +ceti-2-theme: It has been completely revamped and is now based on Vertex. +ceti-2-theme: +ceti-2-theme: Home page: https://github.com/horst3180/Ceti-2-theme +ceti-2-theme: -- cgit v1.2.3