summaryrefslogtreecommitdiff
path: root/desktop/grun/grun.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-26 21:08:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-26 21:08:06 +0700
commit08dab940c0ee1833390988b646928680d8c7728c (patch)
treef078238e5c582be30658ad4a122cfbcb9ab82ad8 /desktop/grun/grun.SlackBuild
parent0921b620e23ac92cd398bd62fe80521f33d49bc2 (diff)
downloadslackbuilds-08dab940c0ee1833390988b646928680d8c7728c.tar.gz
desktop/grun: Switch to github.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 e8e53025b8..36b43acc37 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 \