aboutsummaryrefslogtreecommitdiff
path: root/libraries/equinox/equinox.SlackBuild
diff options
context:
space:
mode:
authorcrocket <crockabiscuit@yahoo.com>2010-12-25 13:28:22 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2010-12-25 13:28:22 -0200
commitc095ba8d80ac49aff2e095ac19efcae3b753f135 (patch)
tree3bd899dda82f14ba10e809c1b1127e967f772db4 /libraries/equinox/equinox.SlackBuild
parentd4e1f4b992c7cbe24652dc3995867a2eeafdb864 (diff)
libraries/equinox: Updated for version 1.30.2.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/equinox/equinox.SlackBuild')
-rw-r--r--libraries/equinox/equinox.SlackBuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/libraries/equinox/equinox.SlackBuild b/libraries/equinox/equinox.SlackBuild
index 5304170fedf4..0cac1ac35807 100644
--- a/libraries/equinox/equinox.SlackBuild
+++ b/libraries/equinox/equinox.SlackBuild
@@ -5,16 +5,16 @@
# Written by crocket (crockabiscuit@yahoo.com)
PRGNAM=equinox
-VERSION=${VERSION:-1.20}
+VERSION=${VERSION:-1.30.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
+ARCVER=$(echo $VERSION | cut -f1-2 -d.)
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -43,9 +43,11 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/121881-$PRGNAM-$VERSION.tar.bz2
+rm -rf $PRGNAM-$VERSION $PRGNAM-gtk-engine.tar.gz $PRGNAM-themes.tar.gz
+tar xvf $CWD/121881-$PRGNAM-$ARCVER.tar.bz2
tar xvf $PRGNAM-gtk-engine.tar.gz
+mv $PRGNAM-$ARCVER $PRGNAM-$VERSION
+mv README $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -88,8 +90,9 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
+chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/*
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/$PRGNAM.info > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.info
+mv $PKG/usr/share/themes/{userChrome.css,Equinox\ Evolution.crx} $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc