diff options
Diffstat (limited to 'network/node/node.SlackBuild')
-rw-r--r-- | network/node/node.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/network/node/node.SlackBuild b/network/node/node.SlackBuild index 91594b6c1d13b..155a335e4064f 100644 --- a/network/node/node.SlackBuild +++ b/network/node/node.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=node -VERSION=${VERSION:-0.10.35} +VERSION=${VERSION:-0.12.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -67,10 +67,10 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Fix man page path. -sed -i 's|share/||' tools/install.py +sed -i 's|share/man|man|' tools/install.py sed -i '/var manRoot/ s/"share",//' deps/npm/lib/{,un}build.js # Fix libdir for 64-bit. @@ -86,7 +86,7 @@ sed -i "s|\"lib\"|\"lib${LIBDIRSUFFIX}\"|" deps/npm/lib/npm.js make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; |