[arch-commits] Commit in phonegap/repos/community-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 16 05:54:04 UTC 2018
Date: Friday, November 16, 2018 @ 05:54:03
Author: felixonmars
Revision: 407824
archrelease: copy trunk to community-x86_64
Added:
phonegap/repos/community-x86_64/PKGBUILD
(from rev 407823, phonegap/trunk/PKGBUILD)
phonegap/repos/community-x86_64/phonegap.install
(from rev 407823, phonegap/trunk/phonegap.install)
Deleted:
phonegap/repos/community-x86_64/PKGBUILD
phonegap/repos/community-x86_64/phonegap.install
------------------+
PKGBUILD | 56 +++++++++++++++++++++++++----------------------------
phonegap.install | 18 ++++++++---------
2 files changed, 36 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-16 05:53:42 UTC (rev 407823)
+++ PKGBUILD 2018-11-16 05:54:03 UTC (rev 407824)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=phonegap
-pkgver=8.0.0
-pkgrel=1
-pkgdesc="PhoneGap command-line interface and node.js library"
-arch=('x86_64')
-url="https://github.com/phonegap/phonegap-cli"
-license=('Apache')
-depends=('acorn' 'semver' 'cordova' 'browserify')
-makedepends=('npm' 'python2')
-install=${pkgname}.install
-source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('603acfa6d0813c26ce2161f2da4184364b57d99a486006911c35378b5488931213a8a372b356be7bfc3086a06f974af42df59a200dc831d69cbe2f993cf2db5f')
-
-package() {
- PYTHON=python2 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 cordova browserify; do
- rm -r $dep;
- done
-}
-
-# vim:set ts=2 sw=2 et:
Copied: phonegap/repos/community-x86_64/PKGBUILD (from rev 407823, phonegap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-16 05:54:03 UTC (rev 407824)
@@ -0,0 +1,27 @@
+# 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:
Deleted: phonegap.install
===================================================================
--- phonegap.install 2018-11-16 05:53:42 UTC (rev 407823)
+++ phonegap.install 2018-11-16 05:54:03 UTC (rev 407824)
@@ -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 407823, phonegap/trunk/phonegap.install)
===================================================================
--- phonegap.install (rev 0)
+++ phonegap.install 2018-11-16 05:54:03 UTC (rev 407824)
@@ -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