[arch-commits] Commit in phonegap/trunk (PKGBUILD phonegap.install)
Levente Polyak
anthraxx at archlinux.org
Wed Oct 26 01:51:39 UTC 2016
Date: Wednesday, October 26, 2016 @ 01:51:38
Author: anthraxx
Revision: 193392
6.3.4-2 (directory permission fix)
Added:
phonegap/trunk/phonegap.install
Modified:
phonegap/trunk/PKGBUILD
------------------+
PKGBUILD | 3 ++-
phonegap.install | 9 +++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-26 01:34:22 UTC (rev 193391)
+++ PKGBUILD 2016-10-26 01:51:38 UTC (rev 193392)
@@ -3,7 +3,7 @@
pkgname=phonegap
pkgver=6.3.4
-pkgrel=1
+pkgrel=2
pkgdesc="PhoneGap command-line interface and node.js library"
arch=('i686' 'x86_64')
url="https://github.com/phonegap/phonegap-cli"
@@ -10,6 +10,7 @@
license=('Apache')
depends=('npm' 'acorn' 'semver' 'cordova' 'browserify')
makedepends=('python2')
+install=${pkgname}.install
source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
noextract=($pkgname-$pkgver.tgz)
sha256sums=('db545367234715e7e360622ad7850509c9a07abd0664cbda0951f6bbeccb5685')
Added: phonegap.install
===================================================================
--- phonegap.install (rev 0)
+++ phonegap.install 2016-10-26 01:51:38 UTC (rev 193392)
@@ -0,0 +1,9 @@
+post_install() {
+ # fixup permissions
+ chmod 755 /usr/lib/node_modules
+ chmod -R g-w,o-w /usr/lib/node_modules/phonegap
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list