[arch-commits] Commit in cordova/repos/community-any (4 files)
Felix Yan
felixonmars at archlinux.org
Tue Jan 24 15:12:41 UTC 2017
Date: Tuesday, January 24, 2017 @ 15:12:41
Author: felixonmars
Revision: 208850
archrelease: copy trunk to community-any
Added:
cordova/repos/community-any/PKGBUILD
(from rev 208849, cordova/trunk/PKGBUILD)
cordova/repos/community-any/cordova.install
(from rev 208849, cordova/trunk/cordova.install)
Deleted:
cordova/repos/community-any/PKGBUILD
cordova/repos/community-any/cordova.install
-----------------+
PKGBUILD | 78 +++++++++++++++++++++++++++---------------------------
cordova.install | 20 ++++++-------
2 files changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-24 15:12:20 UTC (rev 208849)
+++ PKGBUILD 2017-01-24 15:12:41 UTC (rev 208850)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=cordova
-pkgver=6.4.0
-pkgrel=2
-pkgdesc='Cordova command line interface tool'
-arch=('any')
-url='http://cordova.apache.org'
-license=('Apache')
-depends=('npm' 'acorn' 'semver' 'browserify')
-install=cordova.install
-source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-md5sums=('a69e84eae058ea43f1a6eab8a20d96bf')
-
-package() {
- npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
- rm -r "$pkgdir"/usr/etc
-
- # Experimental dedup
- 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
-
- cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/cordova-lib/node_modules
- for dep in semver; do
- rm -r $dep;
- npm link $dep;
- done
-}
Copied: cordova/repos/community-any/PKGBUILD (from rev 208849, cordova/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-01-24 15:12:41 UTC (rev 208850)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=cordova
+pkgver=6.5.0
+pkgrel=1
+pkgdesc='Cordova command line interface tool'
+arch=('any')
+url='http://cordova.apache.org'
+license=('Apache')
+depends=('npm' 'acorn' 'semver' 'browserify')
+install=cordova.install
+source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+md5sums=('e25e50a68f13b25e5fbff807370ff396')
+
+package() {
+ npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+ rm -r "$pkgdir"/usr/etc
+
+ # Experimental dedup
+ 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
+
+ cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/cordova-lib/node_modules
+ for dep in semver; do
+ rm -r $dep;
+ npm link $dep;
+ done
+}
Deleted: cordova.install
===================================================================
--- cordova.install 2017-01-24 15:12:20 UTC (rev 208849)
+++ cordova.install 2017-01-24 15:12:41 UTC (rev 208850)
@@ -1,10 +0,0 @@
-post_install() {
- # fixup permissions
- chmod 755 /usr/lib/node_modules \
- /usr/lib/node_modules/cordova/node_modules \
- /usr/lib/node_modules/cordova/node_modules/.bin
-}
-
-post_upgrade() {
- post_install
-}
Copied: cordova/repos/community-any/cordova.install (from rev 208849, cordova/trunk/cordova.install)
===================================================================
--- cordova.install (rev 0)
+++ cordova.install 2017-01-24 15:12:41 UTC (rev 208850)
@@ -0,0 +1,10 @@
+post_install() {
+ # fixup permissions
+ chmod 755 /usr/lib/node_modules \
+ /usr/lib/node_modules/cordova/node_modules \
+ /usr/lib/node_modules/cordova/node_modules/.bin
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list