diff options
Diffstat (limited to 'network/iojs/iojs.SlackBuild')
-rw-r--r-- | network/iojs/iojs.SlackBuild | 9 |
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 \ |