From 9563db2fb2c1447a74d0dfacb02a8a0aacb47143 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Fri, 19 Jan 2018 22:34:17 +0000 Subject: desktop/flatwoken-icon-theme: Added (icon theme). Signed-off-by: David Spencer --- desktop/flatwoken-icon-theme/README | 10 ++++ .../flatwoken-icon-theme.SlackBuild | 67 ++++++++++++++++++++++ .../flatwoken-icon-theme/flatwoken-icon-theme.info | 10 ++++ desktop/flatwoken-icon-theme/slack-desc | 19 ++++++ 4 files changed, 106 insertions(+) create mode 100644 desktop/flatwoken-icon-theme/README create mode 100644 desktop/flatwoken-icon-theme/flatwoken-icon-theme.SlackBuild create mode 100644 desktop/flatwoken-icon-theme/flatwoken-icon-theme.info create mode 100644 desktop/flatwoken-icon-theme/slack-desc diff --git a/desktop/flatwoken-icon-theme/README b/desktop/flatwoken-icon-theme/README new file mode 100644 index 0000000000..c3443d40a1 --- /dev/null +++ b/desktop/flatwoken-icon-theme/README @@ -0,0 +1,10 @@ +The FlatWoken project is developed by Alessandro Roncone (aka alecive) +and it is released under the CC BY-SA 4.0 License. +It is meant to be a complete set of icon themes for Linux AND Android. + +Panel icon background color and folders color are customizable: pass +the script the variables PANCOL (one hexadecimal value, with uppercase +letters) and FOLCOL (must be one of black, lightgray, blue, cyan, +ribes, kaki or grass), like + + PANCOL="DF253F" FOLCOL="black" ./flatwoken-icon-theme.SlackBuild diff --git a/desktop/flatwoken-icon-theme/flatwoken-icon-theme.SlackBuild b/desktop/flatwoken-icon-theme/flatwoken-icon-theme.SlackBuild new file mode 100644 index 0000000000..6a965570c6 --- /dev/null +++ b/desktop/flatwoken-icon-theme/flatwoken-icon-theme.SlackBuild @@ -0,0 +1,67 @@ +#!/bin/sh + +# Slackware build script for flatwoken-icon-theme + +# Copyright 2018 Matteo Bernardini , Pisa, 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. + +SRCNAM=flatwoken +PRGNAM=${SRCNAM}-icon-theme +VERSION=${VERSION:-20171012_aa7b4a4} +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 $SRCNAM-$VERSION +mkdir -p $PKG/usr/share/icons $OUTPUT +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* +cd $SRCNAM-$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 {} \; + +[ "$PANCOL" != "" ] && ( cd Extra ; ./configure.sh -p \#$PANCOL ) +[ "$FOLCOL" != "" ] && ( cd Extra ; ./configure.sh -f $FOLCOL ) + +cp -a FlatWoken FlatWokenMin $PKG/usr/share/icons/ + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a 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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/desktop/flatwoken-icon-theme/flatwoken-icon-theme.info b/desktop/flatwoken-icon-theme/flatwoken-icon-theme.info new file mode 100644 index 0000000000..082f1671b5 --- /dev/null +++ b/desktop/flatwoken-icon-theme/flatwoken-icon-theme.info @@ -0,0 +1,10 @@ +PRGNAM="flatwoken-icon-theme" +VERSION="20171012_aa7b4a4" +HOMEPAGE="https://github.com/alecive/FlatWoken" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/flatwoken-20171012_aa7b4a4.tar.xz" +MD5SUM="7ce149b6ea8bcb523b0c3c8a66b8ef9d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/desktop/flatwoken-icon-theme/slack-desc b/desktop/flatwoken-icon-theme/slack-desc new file mode 100644 index 0000000000..cea6eb8658 --- /dev/null +++ b/desktop/flatwoken-icon-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------------------------------------------------------| +flatwoken-icon-theme: flatwoken-icon-theme (icon theme) +flatwoken-icon-theme: +flatwoken-icon-theme: The FlatWoken project is developed by Alessandro Roncone (aka alecive) +flatwoken-icon-theme: and it is released under the CC BY-SA 4.0 License. +flatwoken-icon-theme: It is meant to be a complete set of icon themes for Linux AND Android. +flatwoken-icon-theme: +flatwoken-icon-theme: homepage: https://github.com/alecive/FlatWoken +flatwoken-icon-theme: +flatwoken-icon-theme: +flatwoken-icon-theme: +flatwoken-icon-theme: -- cgit v1.2.3