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

Felix Yan felixonmars at archlinux.org
Wed Mar 29 07:47:34 UTC 2017


    Date: Wednesday, March 29, 2017 @ 07:47:33
  Author: felixonmars
Revision: 219779

upgpkg: nodejs 7.8.0-1

Modified:
  nodejs/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-29 03:28:02 UTC (rev 219778)
+++ PKGBUILD	2017-03-29 07:47:33 UTC (rev 219779)
@@ -9,7 +9,7 @@
 # Contributor: TIanyi Cui <tianyicui at gmail.com>
 
 pkgname=nodejs
-pkgver=7.7.4
+pkgver=7.8.0
 pkgrel=1
 pkgdesc='Evented I/O for V8 javascript'
 arch=('i686' 'x86_64')
@@ -16,13 +16,13 @@
 url='http://nodejs.org/'
 license=('MIT')
 depends=('openssl-1.0' 'zlib' 'icu' 'libuv' 'http-parser' 'c-ares') # 'v8')
-makedepends=('python2' 'procps-ng' 'git')
+makedepends=('python2' 'procps-ng')
 optdepends=('npm: nodejs package manager')
-source=("nodejs::git+https://github.com/nodejs/node.git#tag=v$pkgver")
-sha256sums=('SKIP')
+source=("nodejs-$pkgver.tar.gz::https://github.com/nodejs/node/archive/v$pkgver.tar.gz")
+sha256sums=('b5836069ffaa84d8000ea579b8b1f97602eaa8c4883153f718758a4f3da9a4d8')
 
 prepare() {
-  cd nodejs
+  cd node-$pkgver
 
   msg 'Fixing for python2 name'
   find -type f -exec sed \
@@ -36,7 +36,7 @@
 }
 
 build() {
-  cd nodejs
+  cd node-$pkgver
 
   export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
   export PYTHON=python2
@@ -55,13 +55,13 @@
 }
 
 check() {
-  cd nodejs
+  cd node-$pkgver
   # Expected failure: https://github.com/nodejs/node/issues/11627
   make test || warning "Tests failed"
 }
 
 package() {
-  cd nodejs
+  cd node-$pkgver
 
   make DESTDIR="$pkgdir" install
 


More information about the arch-commits mailing list