summaryrefslogtreecommitdiff
path: root/desktop/neutral
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/neutral')
-rw-r--r--desktop/neutral/doinst.sh6
-rw-r--r--desktop/neutral/neutral.SlackBuild30
-rw-r--r--desktop/neutral/neutral.info6
-rw-r--r--desktop/neutral/slack-desc2
4 files changed, 28 insertions, 16 deletions
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: