From 9e09f26d6d449c516424c5079b5bbb58e46fe47e Mon Sep 17 00:00:00 2001 From: Grigorios Bouzakis Date: Thu, 13 May 2010 00:22:54 +0200 Subject: desktop/neutral: Updated for version 1.13a --- desktop/neutral/doinst.sh | 6 ++++++ desktop/neutral/neutral.SlackBuild | 30 +++++++++++++++++------------- desktop/neutral/neutral.info | 6 ++++-- desktop/neutral/slack-desc | 2 +- 4 files changed, 28 insertions(+), 16 deletions(-) create mode 100644 desktop/neutral/doinst.sh (limited to 'desktop/neutral') diff --git a/desktop/neutral/doinst.sh b/desktop/neutral/doinst.sh new file mode 100644 index 0000000000..0a8446fa57 --- /dev/null +++ b/desktop/neutral/doinst.sh @@ -0,0 +1,6 @@ +if [ -e usr/share/icons/neutral/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/neutral >/dev/null 2>&1 + fi +fi + diff --git a/desktop/neutral/neutral.SlackBuild b/desktop/neutral/neutral.SlackBuild index 2969f8ab36..1d620b5b43 100644 --- a/desktop/neutral/neutral.SlackBuild +++ b/desktop/neutral/neutral.SlackBuild @@ -1,30 +1,37 @@ #!/bin/sh # Slackware build script for neutral - -# Written by Grigorios Bouzakis (grbzks@gmail.com) -# Modified by the SlackBuilds.org project. - -set -e +# Written by Grigorios Bouzakis (grbzks@xsmail.com) PRGNAM=neutral -VERSION=1.13a +VERSION=${VERSION:-1.13a} 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 -xzvf $CWD/28310-$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/28310-$PRGNAM-$VERSION.tar.gz cd $PRGNAM chown -R root:root . -chmod -R u+w,go+r-w,a-s . +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/neutral +sed -e 's/Icon Theme/Cursor Theme/' -i $TMP/neutral/index.theme +cp -R $TMP/neutral/{cursors,index.theme} $PKG/usr/share/icons/neutral/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYRIGHT LICENSE $PKG/usr/doc/$PRGNAM-$VERSION @@ -32,10 +39,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc - -mkdir -p $PKG/usr/share/icons/neutral -sed -e 's/Icon Theme/Cursor Theme/' -i $TMP/neutral/index.theme -cp -R $TMP/neutral/{cursors,index.theme} $PKG/usr/share/icons/neutral/ +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/desktop/neutral/neutral.info b/desktop/neutral/neutral.info index b4d6d09273..78a72ecdb1 100644 --- a/desktop/neutral/neutral.info +++ b/desktop/neutral/neutral.info @@ -3,6 +3,8 @@ VERSION="1.13a" HOMEPAGE="http://www.kde-look.org/content/show.php?content=28310" DOWNLOAD="http://www.kde-look.org/CONTENT/content-files/28310-neutral-1.13a.tar.gz" MD5SUM="b2d8e14bcb4ab13d9001890b041803db" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="Grigorios Bouzakis" -EMAIL="grbzks@gmail.com" -APPROVED="alien" +EMAIL="grbzks@xsmail.com" +APPROVED="rworkman" diff --git a/desktop/neutral/slack-desc b/desktop/neutral/slack-desc index d32e2cc00d..a1f4b76f5e 100644 --- a/desktop/neutral/slack-desc +++ b/desktop/neutral/slack-desc @@ -12,8 +12,8 @@ neutral: A modified and extended jaguarx fork with grayscale animated watch. neutral: Looks lika a set of standard black *X cursors, neutral: but smoothed and shadowed. neutral: +neutral: http://www.kde-look.org/content/show.php?content=28310 neutral: neutral: neutral: -neutral: http://www.kde-look.org/content/show.php?content=28310 neutral: -- cgit v1.2.3