[arch-commits] Commit in phonegap/repos/community-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 16 07:43:06 UTC 2018
Date: Friday, November 16, 2018 @ 07:43:05
Author: felixonmars
Revision: 408004
archrelease: copy trunk to community-x86_64
Added:
phonegap/repos/community-x86_64/PKGBUILD
(from rev 408003, phonegap/trunk/PKGBUILD)
phonegap/repos/community-x86_64/phonegap.install
(from rev 408003, phonegap/trunk/phonegap.install)
Deleted:
phonegap/repos/community-x86_64/PKGBUILD
phonegap/repos/community-x86_64/phonegap.install
------------------+
PKGBUILD | 57 +++++++++++++++++++++++++++--------------------------
phonegap.install | 18 ++++++++--------
2 files changed, 39 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-16 07:42:48 UTC (rev 408003)
+++ PKGBUILD 2018-11-16 07:43:05 UTC (rev 408004)
@@ -1,27 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=phonegap
-pkgver=8.2.2
-pkgrel=1
-pkgdesc="PhoneGap command-line interface and node.js library"
-arch=('x86_64')
-url="https://github.com/phonegap/phonegap-cli"
-license=('Apache')
-depends=('semver' 'cordova')
-makedepends=('npm' 'python2')
-install=${pkgname}.install
-source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('40e536acd4620e9eaf8cfea8ea097a6b0bf9e38cd716dc345430949cc65dcf0e035ebb369cc47a2f85e664ea452e119320025ee7580827af967c19652cfd6845')
-
-package() {
- PYTHON=python2 npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
-
- # Experimental dedup
- cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
- for dep in semver cordova; do
- rm -r $dep;
- done
-}
-
-# vim:set ts=2 sw=2 et:
Copied: phonegap/repos/community-x86_64/PKGBUILD (from rev 408003, phonegap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-16 07:43:05 UTC (rev 408004)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=phonegap
+pkgver=8.2.2
+pkgrel=2
+pkgdesc="PhoneGap command-line interface and node.js library"
+arch=('x86_64')
+url="https://github.com/phonegap/phonegap-cli"
+license=('Apache')
+depends=('semver' 'cordova')
+makedepends=('npm' 'python2')
+install=${pkgname}.install
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('40e536acd4620e9eaf8cfea8ea097a6b0bf9e38cd716dc345430949cc65dcf0e035ebb369cc47a2f85e664ea452e119320025ee7580827af967c19652cfd6845')
+
+package() {
+ PYTHON=python2 npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+
+ # Why 777? :/
+ chmod -R u=rwX,go=rX "$pkgdir"
+
+ # Experimental dedup
+ cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
+ for dep in semver cordova; do
+ rm -r $dep;
+ done
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: phonegap.install
===================================================================
--- phonegap.install 2018-11-16 07:42:48 UTC (rev 408003)
+++ phonegap.install 2018-11-16 07:43:05 UTC (rev 408004)
@@ -1,9 +0,0 @@
-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
-}
Copied: phonegap/repos/community-x86_64/phonegap.install (from rev 408003, phonegap/trunk/phonegap.install)
===================================================================
--- phonegap.install (rev 0)
+++ phonegap.install 2018-11-16 07:43:05 UTC (rev 408004)
@@ -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