summaryrefslogtreecommitdiff
path: root/desktop/murrine/murrine.SlackBuild
diff options
context:
space:
mode:
authorcrocket <crockabiscuit@yahoo.com>2010-11-10 23:51:20 -0600
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-11-22 19:44:11 +0100
commite2a88ece10bc08197d6fabe85899200a437bc05e (patch)
tree4af1993a01986c79f7b2fb0fe6576d3bca56d3b7 /desktop/murrine/murrine.SlackBuild
parent09b64e3353cf223b5c258e021e0950c6220cd1d6 (diff)
downloadslackbuilds-e2a88ece10bc08197d6fabe85899200a437bc05e.tar.gz
desktop/murrine: Updated for version 0.98.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/murrine/murrine.SlackBuild')
-rw-r--r--desktop/murrine/murrine.SlackBuild60
1 files changed, 17 insertions, 43 deletions
diff --git a/desktop/murrine/murrine.SlackBuild b/desktop/murrine/murrine.SlackBuild
index 2458acab77..6e3f1e38a8 100644
--- a/desktop/murrine/murrine.SlackBuild
+++ b/desktop/murrine/murrine.SlackBuild
@@ -1,21 +1,18 @@
#!/bin/sh
# Slackware build script for murrine
-# Written by Grigorios Bouzakis (grbzks@gmail.com)
-# Modified by the SlackBuilds.org project
+# Written by crocket (crockabiscuit@yahoo.com)
PRGNAM=murrine
-VERSION=0.90.3
+VERSION=${VERSION:-0.98.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
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
@@ -25,14 +22,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# The default themepack for murrine is
-# http://cimi.netsons.org/media/download_gallery/MurrineThemePack.tar.bz2
-# Others may work fine here, but the script has not been tested with them.
-# If you want to use another theme or themepack, ammend the line below.
-THEME=MurrineThemePack
-
-set -e
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -47,11 +36,13 @@ else
LIBDIRSUFFIX=""
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -60,39 +51,19 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Install a default set of themes in the right directory.
-if [ -r $CWD/$THEME.tar.bz2 ]; then
- mkdir -p $PKG/usr/share/themes
- ( cd $PKG/usr/share/themes
- echo "Installing $THEME"
- tar -xvjf $CWD/$THEME.tar.bz2
- chown -R root:root .
- )
-else
- # Warn users that the package may not work as expected
- echo
- echo "A usable theme tarball does not appear to exist in "
- echo "$CWD"
- echo "See the README for more information on where to download"
- echo "this. (or you didn't edit the script to reflect it or "
- echo "something else is broken)."
- echo
- echo "The script will continue to build a package, but some manual"
- echo "setup may be required ager installation."
- echo
- echo "Type 'exit' to quit or any other key to continue the script."
- read _continue
- if [ "$_continue" = "exit" ]; then
- exit 1
- fi
-fi
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --enable-animation
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --enable-static=no \
+ --enable-animation \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -101,7 +72,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -109,3 +82,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+