From 9f89fe88371fedb1bc342228d904b0a1268a4a6e Mon Sep 17 00:00:00 2001 From: "Ryan P.C. McQuen" Date: Fri, 25 Sep 2015 16:56:06 -0700 Subject: network/iojs: Updated for version 4.1.1. Signed-off-by: Ryan P.C. McQuen --- network/iojs/iojs.SlackBuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'network/iojs/iojs.SlackBuild') 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 . 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 \ -- cgit v1.2.3