Date: Tuesday, March 6, 2018 @ 20:04:29
  Author: felixonmars
Revision: 303203

upgpkg: phonegap 8.0.0-1

Modified:
  phonegap/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-06 20:03:23 UTC (rev 303202)
+++ PKGBUILD    2018-03-06 20:04:29 UTC (rev 303203)
@@ -2,18 +2,18 @@
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
 pkgname=phonegap
-pkgver=7.1.1
+pkgver=8.0.0
 pkgrel=1
 pkgdesc="PhoneGap command-line interface and node.js library"
 arch=('x86_64')
 url="https://github.com/phonegap/phonegap-cli";
 license=('Apache')
-depends=('npm' 'acorn' 'semver' 'cordova' 'browserify')
-makedepends=('python2')
+depends=('acorn' 'semver' 'cordova' 'browserify')
+makedepends=('npm' 'python2')
 install=${pkgname}.install
 source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
 noextract=($pkgname-$pkgver.tgz)
-sha512sums=('0b91e5a28e22b1e5fc48f0a012aa8fed3ed3da810b7d3497a948125f06c14c1aacbe75389b93971dcefdd9b6055139cee2befd63425b3e45ed45fb037023c972')
+sha512sums=('603acfa6d0813c26ce2161f2da4184364b57d99a486006911c35378b5488931213a8a372b356be7bfc3086a06f974af42df59a200dc831d69cbe2f993cf2db5f')
 
 package() {
   PYTHON=python2 npm install -g --user root --prefix "$pkgdir"/usr 
"$srcdir"/$pkgname-$pkgver.tgz
@@ -21,39 +21,9 @@
 
   # Experimental dedup
   cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
-  for dep in acorn semver cordova npm browserify; do
+  for dep in acorn semver cordova browserify; do
     rm -r $dep;
   done
-
-  cd 
"$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/syntax-error/node_modules
-  for dep in acorn; do
-    rm -r $dep;
-  done
-
-  cd 
"$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/cordova-lib/node_modules
-  for dep in semver; do
-    rm -r $dep;
-  done
-
-  cd 
"$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/npm-package-arg/node_modules
-  for dep in semver; do
-    rm -r $dep;
-  done
-
-  cd 
"$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/normalize-package-data/node_modules
-  for dep in semver; do
-    rm -r $dep;
-  done
-
-  cd 
"$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/init-package-json/node_modules
-  for dep in semver; do
-    rm -r $dep;
-  done
-
-  cd 
"$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/semver-diff/node_modules
-  for dep in semver; do
-    rm -r $dep;
-  done
 }
 
 # vim:set ts=2 sw=2 et:

Reply via email to