summaryrefslogtreecommitdiff
path: root/desktop/crystal
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 22:21:43 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:21:43 +0200
commitec1c3f8b6d4d48463abff1f160b1ce7497dd6491 (patch)
tree8c2a996131cf8dcf54692b59e052b4dad08af7bb /desktop/crystal
parent48105c8f71570130176f2311d21b5a503886a748 (diff)
downloadslackbuilds-ec1c3f8b6d4d48463abff1f160b1ce7497dd6491.tar.gz
desktop/crystal: Updated for version 1.0.6
Diffstat (limited to 'desktop/crystal')
-rw-r--r--desktop/crystal/crystal.SlackBuild19
-rw-r--r--desktop/crystal/crystal.info8
2 files changed, 15 insertions, 12 deletions
diff --git a/desktop/crystal/crystal.SlackBuild b/desktop/crystal/crystal.SlackBuild
index 6a64157b51..1f01f430be 100644
--- a/desktop/crystal/crystal.SlackBuild
+++ b/desktop/crystal/crystal.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# SlackBuild script for crystal (A Native KDE 3.x Window decoration)
-# Written by Michiel van Wessem (BP{k}) <michiel@slackbuilds.org>
+# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -23,26 +23,25 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-set -e
-
PRGNAM=crystal
-VERSION=1.0.5
+VERSION=1.0.6
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCFILES="AUTHORS COPYING INSTALL README"
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
+set -e # Exit on most errors
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
@@ -50,7 +49,11 @@ cd $TMP
tar -xjvf $CWD/*-$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -64,7 +67,7 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir $PKG/install
diff --git a/desktop/crystal/crystal.info b/desktop/crystal/crystal.info
index 881bdac361..9d527eb108 100644
--- a/desktop/crystal/crystal.info
+++ b/desktop/crystal/crystal.info
@@ -1,8 +1,8 @@
PRGNAM="crystal"
-VERSION="1.0.5"
+VERSION="1.0.6"
HOMEPAGE="http://tinyurl.com/3oysu"
-DOWNLOAD="http://www.kde-look.org/CONTENT/content-files/13969-crystal-1.0.5.tar.bz2"
-MD5SUM="3ad78005c979a1eca23aa669c71ed1d2"
+DOWNLOAD="http://www.kde-look.org/CONTENT/content-files/13969-crystal-1.0.6.tar.bz2"
+MD5SUM="08150ac1b878654cfec74f01900cabd2"
MAINTAINER="Michiel van Wessem"
EMAIL="michiel@slackbuilds.org"
-APPROVED="rworkman"
+APPROVED="David Somero"