[arch-commits] Commit in cordova/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Oct 11 03:06:05 UTC 2017
Date: Wednesday, October 11, 2017 @ 03:06:04
Author: felixonmars
Revision: 262315
upgpkg: cordova 7.1.0-1
Modified:
cordova/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-11 00:18:28 UTC (rev 262314)
+++ PKGBUILD 2017-10-11 03:06:04 UTC (rev 262315)
@@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=cordova
-pkgver=7.0.1
-pkgrel=2
+pkgver=7.1.0
+pkgrel=1
pkgdesc='Cordova command line interface tool'
arch=('any')
url='http://cordova.apache.org'
@@ -12,7 +12,7 @@
install=cordova.install
source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
noextract=("$pkgname-$pkgver.tgz")
-sha512sums=('c256867e7d5399e7e0f0d7646da297b50b60a8a6d8f635af5ae418dae9fcd0e05aaf7a87bed27b1649ee884b337d7a69759be11e22f4008ac20bf4f028a8f766')
+sha512sums=('c7d018743634a8985fd425973d89a93581a537f8160f248ba2e95bf9829a93fde34be9178f007f0106ffbbd645d8913f614b2d2742a37df49711cb06b54a334d')
package() {
npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
@@ -25,12 +25,10 @@
cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
for dep in acorn semver npm browserify; do
rm -r $dep;
- npm link $dep;
done
cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/syntax-error/node_modules
for dep in acorn; do
rm -r $dep;
- npm link $dep;
done
}
More information about the arch-commits
mailing list