[arch-commits] Commit in cordova/trunk (PKGBUILD cordova.install)
Levente Polyak
anthraxx at archlinux.org
Wed Nov 16 17:43:48 UTC 2016
Date: Wednesday, November 16, 2016 @ 17:43:47
Author: anthraxx
Revision: 196046
updpkg: cordova 6.4.0-2 (permission security update)
Added:
cordova/trunk/cordova.install
Modified:
cordova/trunk/PKGBUILD
-----------------+
PKGBUILD | 3 ++-
cordova.install | 10 ++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-11-16 17:43:36 UTC (rev 196045)
+++ PKGBUILD 2016-11-16 17:43:47 UTC (rev 196046)
@@ -3,12 +3,13 @@
pkgname=cordova
pkgver=6.4.0
-pkgrel=1
+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')
Added: cordova.install
===================================================================
--- cordova.install (rev 0)
+++ cordova.install 2016-11-16 17:43:47 UTC (rev 196046)
@@ -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