summaryrefslogtreecommitdiff
path: root/network/iojs/iojs.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-09-25 16:56:06 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-26 10:05:30 +0700
commit9f89fe88371fedb1bc342228d904b0a1268a4a6e (patch)
tree37c6e7681748447f40822cf184422fee819a12df /network/iojs/iojs.SlackBuild
parent4f956ebc3be48fc7300ca16fadd8eb6b3b2c7ebe (diff)
downloadslackbuilds-9f89fe88371fedb1bc342228d904b0a1268a4a6e.tar.gz
network/iojs: Updated for version 4.1.1.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'network/iojs/iojs.SlackBuild')
-rw-r--r--network/iojs/iojs.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/network/iojs/iojs.SlackBuild b/network/iojs/iojs.SlackBuild
index 59087dc9a7..f2e1b1b1e3 100644
--- a/network/iojs/iojs.SlackBuild
+++ b/network/iojs/iojs.SlackBuild
@@ -25,7 +25,8 @@
# not, see <http://www.gnu.org/licenses/>.
PRGNAM=iojs
-VERSION=${VERSION:-2.5.0}
+SRCNAM=node
+VERSION=${VERSION:-4.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,9 +62,9 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-v$VERSION
-tar xvf $CWD/$PRGNAM-v$VERSION.tar.xz
-cd $PRGNAM-v$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \