[arch-commits] Commit in nodejs/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Mon Sep 5 12:00:42 UTC 2016


    Date: Monday, September 5, 2016 @ 12:00:41
  Author: spupykin
Revision: 188570

avoid source cache conflict: "node" is too common name

Modified:
  nodejs/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-05 11:51:37 UTC (rev 188569)
+++ PKGBUILD	2016-09-05 12:00:41 UTC (rev 188570)
@@ -18,11 +18,11 @@
 depends=('openssl' 'zlib' 'icu' 'libuv' 'http-parser') # 'v8')
 makedepends=('python2' 'procps-ng' 'git')
 optdepends=('npm: nodejs package manager')
-source=("git+https://github.com/nodejs/node.git#tag=v$pkgver")
+source=("nodejs::git+https://github.com/nodejs/node.git#tag=v$pkgver")
 sha256sums=('SKIP')
 
 prepare() {
-  cd node
+  cd nodejs
 
   msg 'Fixing for python2 name'
   find -type f -exec sed \
@@ -36,7 +36,7 @@
 }
 
 build() {
-  cd node
+  cd nodejs
 
   export PYTHON=python2
   ./configure \
@@ -53,12 +53,12 @@
 }
 
 check() {
-  cd node
+  cd nodejs
   make test || warning "Tests failed"
 }
 
 package() {
-  cd node
+  cd nodejs
 
   make DESTDIR="$pkgdir" install
 



More information about the arch-commits mailing list