diff options
author | slakmagik <slakmagik@gmail.com> | 2010-07-25 18:08:59 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-07-25 21:52:41 -0500 |
commit | ad533e5b9dbd710ba9aa578f7194c5be82be96e7 (patch) | |
tree | 60882cb64a137ac760aad99b823c7a93204b11cd /desktop | |
parent | 2f2e7d16141c3ec601c867afeca5b8d4e7d8f6e7 (diff) |
desktop/Vanilla-DMZ: Added (style neutral scalable cursor theme)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/Vanilla-DMZ/README | 9 | ||||
-rw-r--r-- | desktop/Vanilla-DMZ/Vanilla-DMZ.SlackBuild | 55 | ||||
-rw-r--r-- | desktop/Vanilla-DMZ/Vanilla-DMZ.info | 10 | ||||
-rw-r--r-- | desktop/Vanilla-DMZ/slack-desc | 19 |
4 files changed, 93 insertions, 0 deletions
diff --git a/desktop/Vanilla-DMZ/README b/desktop/Vanilla-DMZ/README new file mode 100644 index 0000000000000..9a6ab5036b9db --- /dev/null +++ b/desktop/Vanilla-DMZ/README @@ -0,0 +1,9 @@ +The Vanilla-DMZ cursor theme is a style neutral scalable cursor theme. + +One way of using this is to put + + Xcursor.theme: Vanilla-DMZ + +in your X Resources file. + +This package replaces the industrial-cursor-theme package. diff --git a/desktop/Vanilla-DMZ/Vanilla-DMZ.SlackBuild b/desktop/Vanilla-DMZ/Vanilla-DMZ.SlackBuild new file mode 100644 index 0000000000000..bc83a816c3168 --- /dev/null +++ b/desktop/Vanilla-DMZ/Vanilla-DMZ.SlackBuild @@ -0,0 +1,55 @@ +#!/bin/sh + +# Slackware build script for vanilla-dmz +# Written by slakmagik <slakmagik@gmail.com> +# Released under the WTFPL + +PRGNAM=Vanilla-DMZ +SRCNAM=vanilla-dmz +VERSION=${VERSION:-0.4} +ARCH=noarch +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 +tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2 +cd $PRGNAM +# cut the size of the package in half +( cd cursors + md5sum * | sort -r | while read SUM FILE; do + if [ "$OLD_SUM" = $SUM ]; then + ln -sf $OLD_FILE $FILE + else + OLD_SUM=$SUM + OLD_FILE=$FILE + fi + done ) +chown -R root:root . +# we need to test for links here because -perm 777 will find them and chmod +# will chmod their targets 755 when they should be 644 +find . ! -type l \( \ + \( -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/$PRGNAM,doc/$PRGNAM-$VERSION} +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +mv COPYING $PKG/usr/doc/$PRGNAM-$VERSION +mv $TMP/$PRGNAM $PKG/usr/share/icons/ + +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/Vanilla-DMZ/Vanilla-DMZ.info b/desktop/Vanilla-DMZ/Vanilla-DMZ.info new file mode 100644 index 0000000000000..76eae66153bda --- /dev/null +++ b/desktop/Vanilla-DMZ/Vanilla-DMZ.info @@ -0,0 +1,10 @@ +PRGNAM="Vanilla-DMZ" +VERSION="0.4" +HOMEPAGE="http://jimmac.musichall.cz/themes.php?skin=7" +DOWNLOAD="http://jimmac.musichall.cz/zip/vanilla-dmz-0.4.tar.bz2" +MD5SUM="1d7f83a30785020b5f170586a51b7eda" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="slakmagik" +EMAIL="slakmagik@gmail.com" +APPROVED="Erik Hanson" diff --git a/desktop/Vanilla-DMZ/slack-desc b/desktop/Vanilla-DMZ/slack-desc new file mode 100644 index 0000000000000..0e8d7546f2e12 --- /dev/null +++ b/desktop/Vanilla-DMZ/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------------------------------------------------------| +Vanilla-DMZ: Vanilla-DMZ (style neutral scalable cursor theme) +Vanilla-DMZ: +Vanilla-DMZ: Homepage: http://jimmac.musichall.cz/themes.php?skin=7 +Vanilla-DMZ: +Vanilla-DMZ: +Vanilla-DMZ: +Vanilla-DMZ: +Vanilla-DMZ: +Vanilla-DMZ: +Vanilla-DMZ: +Vanilla-DMZ: |