summaryrefslogtreecommitdiff
path: root/system/graveman/graveman.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/graveman/graveman.SlackBuild')
-rw-r--r--system/graveman/graveman.SlackBuild16
1 files changed, 5 insertions, 11 deletions
diff --git a/system/graveman/graveman.SlackBuild b/system/graveman/graveman.SlackBuild
index cadc1bbca2..c7df3d3a70 100644
--- a/system/graveman/graveman.SlackBuild
+++ b/system/graveman/graveman.SlackBuild
@@ -14,15 +14,13 @@
# with a new version of Graveman. Thanks to Eric Hameleers
# for the fix.
-# Modified by the SlackBuilds.org project
-
PRGNAM=graveman
SRCVER=0.3.12-5 # this is the developer's source version
VERSION=0.3.12.5 # this is local version
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -35,8 +33,8 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exi t1
-rm -rf $PRGNAM-$VERSION
+cd $TMP || exit 1
+rm -rf $PRGNAM-$SRCVER
tar -xzvf $CWD/$PRGNAM-$SRCVER.tar.gz || exit 1
cd $PRGNAM-$SRCVER || exit 1
chown -R root:root .
@@ -53,14 +51,10 @@ CXXFLAGS="$SLKCFLAGS" \
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
-# Fix path to icon in .desktop file
-sed -i s#'Icon=graveman48.png'#'Icon=/usr/share/pixmaps/graveman48.png'# \
- $PKG/usr/share/applications/graveman.desktop || exit 1
-
if [ -d $PKG/usr/man ]; then
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
- for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
fi