[arch-commits] Commit in phonegap/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Wed Aug 7 11:34:26 UTC 2019


    Date: Wednesday, August 7, 2019 @ 11:34:25
  Author: jelle
Revision: 498142

switch to python3

Modified:
  phonegap/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-07 11:02:13 UTC (rev 498141)
+++ PKGBUILD	2019-08-07 11:34:25 UTC (rev 498142)
@@ -8,7 +8,7 @@
 url="https://github.com/phonegap/phonegap-cli"
 license=('Apache')
 depends=('semver' 'cordova')
-makedepends=('npm' 'python2')
+makedepends=('npm' 'python')
 install=${pkgname}.install
 source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
 noextract=($pkgname-$pkgver.tgz)
@@ -15,7 +15,7 @@
 sha512sums=('40e536acd4620e9eaf8cfea8ea097a6b0bf9e38cd716dc345430949cc65dcf0e035ebb369cc47a2f85e664ea452e119320025ee7580827af967c19652cfd6845')
 
 package() {
-  PYTHON=python2 npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
 
   # Why 777? :/
   chmod -R u=rwX,go=rX "$pkgdir"



More information about the arch-commits mailing list