From 26cb3513036b0d6d8790f8437ac9cdc8a9768e36 Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Fri, 14 Dec 2012 18:18:41 +0100 Subject: desktop/protozoa-cursor-themes: Added (animated cursor themes). Signed-off-by: Matteo Bernardini --- desktop/protozoa-cursor-themes/README | 2 + .../protozoa-cursor-themes.SlackBuild | 86 ++++++++++++++++++++++ .../protozoa-cursor-themes.info | 14 ++++ desktop/protozoa-cursor-themes/slack-desc | 19 +++++ 4 files changed, 121 insertions(+) create mode 100644 desktop/protozoa-cursor-themes/README create mode 100644 desktop/protozoa-cursor-themes/protozoa-cursor-themes.SlackBuild create mode 100644 desktop/protozoa-cursor-themes/protozoa-cursor-themes.info create mode 100644 desktop/protozoa-cursor-themes/slack-desc (limited to 'desktop/protozoa-cursor-themes') diff --git a/desktop/protozoa-cursor-themes/README b/desktop/protozoa-cursor-themes/README new file mode 100644 index 0000000000..4ff4ae8e1a --- /dev/null +++ b/desktop/protozoa-cursor-themes/README @@ -0,0 +1,2 @@ +Animated cursor themes of the Protozoa family. These include Protozoa, +Protozoa-Blu, Protozoa-Grey and Protozoa-Red. diff --git a/desktop/protozoa-cursor-themes/protozoa-cursor-themes.SlackBuild b/desktop/protozoa-cursor-themes/protozoa-cursor-themes.SlackBuild new file mode 100644 index 0000000000..755d3ceff0 --- /dev/null +++ b/desktop/protozoa-cursor-themes/protozoa-cursor-themes.SlackBuild @@ -0,0 +1,86 @@ +#!/bin/sh + +# Slackware build script for protozoa-cursor-themes + +# Copyright 2012 Petar Petrov, ppetrov@paju.oulu.fi +# 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=protozoa-cursor-themes +VERSION=${VERSION:-20120114} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ORIGINAL=protozoa_by_grynays-d2n7qil +BLUGREY=protozoa_blu_and_grey_by_grynays-d2yy6sr +RED=protozoa_red_by_grynays-d4ma7em +SRCNAM=Protozoa + +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 +mkdir $PRGNAM-$VERSION +cd $PRGNAM-$VERSION + +unzip $CWD/$ORIGINAL.zip +unzip $CWD/$BLUGREY.zip +unzip $CWD/$RED.zip + +tar xvf ./$SRCNAM.tar.gz +tar xvf ./$SRCNAM-Blu.tar.gz +tar xvf ./$SRCNAM-grey.tar.gz +tar xvf ./$SRCNAM-red.tar.gz + +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +mkdir -p $PKG/usr/share/icons +cp -a \ + $SRCNAM $SRCNAM-grey $SRCNAM-Blu $SRCNAM-red \ + $PKG/usr/share/icons + +# Fix permissions +find $PKG -type d -exec chmod 0755 {} \; +find $PKG -type f -exec chmod 0644 {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + blu-grey.jpg protozoa.jpg protozoared.jpg \ + $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/protozoa-cursor-themes/protozoa-cursor-themes.info b/desktop/protozoa-cursor-themes/protozoa-cursor-themes.info new file mode 100644 index 0000000000..4d6deebefb --- /dev/null +++ b/desktop/protozoa-cursor-themes/protozoa-cursor-themes.info @@ -0,0 +1,14 @@ +PRGNAM="protozoa-cursor-themes" +VERSION="20120114" +HOMEPAGE="http://gnome-look.org/content/show.php/Protozoa?content=105586" +DOWNLOAD="http://www.deviantart.com/download/179634411/protozoa_blu_and_grey_by_grynays-d2yy6sr.zip \ + http://www.deviantart.com/download/159924477/protozoa_by_grynays-d2n7qil.zip \ + http://www.deviantart.com/download/279292414/protozoa_red_by_grynays-d4ma7em.zip" +MD5SUM="b68c0d07598915072c9eb46429cba61b \ + 01f80548e2e4fb826878fac59ea64b1a \ + 7806b83f6f64b1c35cf6a54cdc241b70" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Petar Petrov" +EMAIL="ppetrov@paju.oulu.fi" diff --git a/desktop/protozoa-cursor-themes/slack-desc b/desktop/protozoa-cursor-themes/slack-desc new file mode 100644 index 0000000000..bbb4d5bdf1 --- /dev/null +++ b/desktop/protozoa-cursor-themes/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------------------------------------------------------| +protozoa-cursor-themes: protozoa-cursor-themes (Animated cursor Protozoa themes) +protozoa-cursor-themes: +protozoa-cursor-themes: Animated cursor themes of the Protozoa family.These include +protozoa-cursor-themes: Protozoa, Protozoa-Blu, Protozoa-Grey and Protozoa-Red. +protozoa-cursor-themes: +protozoa-cursor-themes: +protozoa-cursor-themes: +protozoa-cursor-themes: +protozoa-cursor-themes: +protozoa-cursor-themes: +protozoa-cursor-themes: -- cgit v1.2.3