summaryrefslogtreecommitdiff
path: root/libraries/equinox/equinox.SlackBuild
diff options
context:
space:
mode:
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 5304170fed..0cac1ac358 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