summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChess Griffin <chess@chessgriffin.com>2010-05-11 22:26:42 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:26:42 +0200
commit9f19f18007800e89973f212c65659db8842c7cb6 (patch)
tree4dc3aacb8a08e0f290333beb25be63794b4021a3
parentc43dba4d1cbab83c56ee7e443a649a6ed099e78f (diff)
downloadslackbuilds-9f19f18007800e89973f212c65659db8842c7cb6.tar.gz
system/graveman: Updated for version 0.3.12.5
-rw-r--r--system/graveman/doinst.sh4
-rw-r--r--system/graveman/graveman.SlackBuild11
-rw-r--r--system/graveman/slack-desc2
3 files changed, 10 insertions, 7 deletions
diff --git a/system/graveman/doinst.sh b/system/graveman/doinst.sh
index 98d466d8b9..033f010d40 100644
--- a/system/graveman/doinst.sh
+++ b/system/graveman/doinst.sh
@@ -1,3 +1,3 @@
-if [ -x usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
fi
diff --git a/system/graveman/graveman.SlackBuild b/system/graveman/graveman.SlackBuild
index c7df3d3a70..98f34e419b 100644
--- a/system/graveman/graveman.SlackBuild
+++ b/system/graveman/graveman.SlackBuild
@@ -15,11 +15,12 @@
# for the fix.
PRGNAM=graveman
-SRCVER=0.3.12-5 # this is the developer's source version
VERSION=0.3.12.5 # this is local version
+SRCVER=0.3.12-5 # this is the developer's source version
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -29,13 +30,15 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PRGNAM-$SRCVER
-tar -xzvf $CWD/$PRGNAM-$SRCVER.tar.gz || exit 1
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || exit 1
cd $PRGNAM-$SRCVER || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -59,7 +62,7 @@ if [ -d $PKG/usr/man ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING Changelog NEWS README* THANKS TRANSLATE-HOWTO.fr \
+cp -a AUTHORS COPYING ChangeLog NEWS README* THANKS TRANSLATE-HOWTO.fr \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/graveman/slack-desc b/system/graveman/slack-desc
index 6b1a39dff4..513e2c65c7 100644
--- a/system/graveman/slack-desc
+++ b/system/graveman/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler------------------------------------------------------|
+ |-----handy-ruler----------------------------------------------------|
graveman: Graveman (CD and DVD burning application)
graveman:
graveman: Graveman is a GTK2 front end to cdrecord, mkisofs, readcd, sox,