aboutsummaryrefslogtreecommitdiff
path: root/desktop/grun/grun.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/grun/grun.SlackBuild')
-rw-r--r--desktop/grun/grun.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/desktop/grun/grun.SlackBuild b/desktop/grun/grun.SlackBuild
index e8e53025b8fcc..36b43acc37598 100644
--- a/desktop/grun/grun.SlackBuild
+++ b/desktop/grun/grun.SlackBuild
@@ -23,6 +23,7 @@
PRGNAM=grun
VERSION=${VERSION:-0.9.3}
+SRCNAM=$(echo $VERSION | tr . _)
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -58,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-release_$SRCNAM
+tar xvf $CWD/$PRGNAM-release_$SRCNAM.tar.gz
+cd $PRGNAM-release_$SRCNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -68,6 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+autoreconf -fiv
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \