[arch-commits] Commit in nodejs/trunk (PKGBUILD)
Felix Yan
fyan at nymeria.archlinux.org
Tue May 6 04:10:59 UTC 2014
Date: Tuesday, May 6, 2014 @ 06:10:59
Author: fyan
Revision: 110746
upgpkg: nodejs 0.10.28-2
- add symlink for node-gyp, close FS#40221
Modified:
nodejs/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-05-06 02:02:34 UTC (rev 110745)
+++ PKGBUILD 2014-05-06 04:10:59 UTC (rev 110746)
@@ -10,12 +10,13 @@
pkgname=nodejs
pkgver=0.10.28
-pkgrel=1
+pkgrel=2
pkgdesc='Evented I/O for V8 javascript'
arch=('i686' 'x86_64')
url='http://nodejs.org/'
license=('MIT')
depends=('openssl')
+provides=('nodejs-node-gyp')
makedepends=('python2')
optdepends=('python2: for node-gyp')
checkdepends=('curl')
@@ -63,6 +64,9 @@
install -D -m644 LICENSE \
"$pkgdir"/usr/share/licenses/nodejs/LICENSE
+
+ # Why the hell wasn't this installed?! FS#40221
+ ln -s /usr/lib/node_modules/npm/bin/node-gyp-bin/node-gyp "$pkgdir"/usr/bin/node-gyp
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list