summaryrefslogtreecommitdiff
path: root/development/ninja-ide/ninja-ide.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/ninja-ide/ninja-ide.SlackBuild')
-rw-r--r--development/ninja-ide/ninja-ide.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/development/ninja-ide/ninja-ide.SlackBuild b/development/ninja-ide/ninja-ide.SlackBuild
index d3328cdf8f..829d370563 100644
--- a/development/ninja-ide/ninja-ide.SlackBuild
+++ b/development/ninja-ide/ninja-ide.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for ninja-ide
# Copyright 2012 Binh Nguyen <binhvng@gmail.com>
+# Copyright 2014 Ryan P.C. McQuen, WA, ryan.q@linux.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ninja-ide
-VERSION=${VERSION:-2.1.1}
+VERSION=${VERSION:-2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,12 +47,12 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
-unzip $CWD/$PRGNAM-v$VERSION.zip
-cd $PRGNAM
+tar xvf $CWD/v$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;