[arch-commits] Commit in phonegap/repos/community-x86_64 (4 files)

Jelle van der Waa jelle at archlinux.org
Sun Jan 5 18:28:27 UTC 2020


    Date: Sunday, January 5, 2020 @ 18:28:26
  Author: jelle
Revision: 549373

archrelease: copy trunk to community-x86_64

Added:
  phonegap/repos/community-x86_64/PKGBUILD
    (from rev 549372, phonegap/trunk/PKGBUILD)
  phonegap/repos/community-x86_64/phonegap.install
    (from rev 549372, phonegap/trunk/phonegap.install)
Deleted:
  phonegap/repos/community-x86_64/PKGBUILD
  phonegap/repos/community-x86_64/phonegap.install

------------------+
 PKGBUILD         |   63 +++++++++++++++++++++++++++--------------------------
 phonegap.install |   18 +++++++--------
 2 files changed, 42 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-05 18:28:17 UTC (rev 549372)
+++ PKGBUILD	2020-01-05 18:28:26 UTC (rev 549373)
@@ -1,30 +0,0 @@
-# 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:

Copied: phonegap/repos/community-x86_64/PKGBUILD (from rev 549372, phonegap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-05 18:28:26 UTC (rev 549373)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=phonegap
+pkgver=8.2.2
+pkgrel=3
+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' 'python')
+install=${pkgname}.install
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('40e536acd4620e9eaf8cfea8ea097a6b0bf9e38cd716dc345430949cc65dcf0e035ebb369cc47a2f85e664ea452e119320025ee7580827af967c19652cfd6845')
+
+package() {
+  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+
+  # Why 777? :/
+  chmod -R u=rwX,go=rX "$pkgdir"
+
+  # Delete npm installed pyc files
+  find "$pkgdir" -name "*.pyc" -delete
+
+  # 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	2020-01-05 18:28:17 UTC (rev 549372)
+++ phonegap.install	2020-01-05 18:28:26 UTC (rev 549373)
@@ -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 549372, phonegap/trunk/phonegap.install)
===================================================================
--- phonegap.install	                        (rev 0)
+++ phonegap.install	2020-01-05 18:28:26 UTC (rev 549373)
@@ -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