summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSander van Kasteel2020-10-25 14:10:28 +0100
committerSander van Kasteel2020-10-25 14:10:28 +0100
commit51d414267240b17ed26239ef0d801184ce95d64c (patch)
tree54328f63a6a51b810d14c91e8cf41fac9cfcf386
parenta36ad2232265fa54ec74ef66da4cfbbe3e768dda (diff)
downloadaur-51d414267240b17ed26239ef0d801184ce95d64c.tar.gz
upgpkg: ionic-cli 6.12.0-1
upstream release Cleanedup PKGBUILD and upped to version 6.12.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD17
2 files changed, 13 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b5f2604f37b..5c90b42703f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = ionic-cli
pkgdesc = The Ionic command line interface (CLI) is your go-to tool for developing Ionic apps
- pkgver = 4.10.2
+ pkgver = 6.12.0
pkgrel = 1
url = http://ionicframework.com/
arch = any
license = MIT
depends = nodejs
depends = npm
- noextract = ionic-4.10.2.tgz
- source = http://registry.npmjs.org/ionic/-/ionic-4.10.2.tgz
- sha256sums = f7e0134e0530a12b15a4a76bfe09952269f6c122d71574ba7fca4e56f3c13cfb
+ noextract = cli-6.12.0.tgz
+ source = http://registry.npmjs.org/@ionic/cli/-/cli-6.12.0.tgz
+ sha256sums = 0da9ab569a33594868877b62a0b14b8618330697e5a4601b9b6150d14ed23318
pkgname = ionic-cli
diff --git a/PKGBUILD b/PKGBUILD
index 615a8c77347..192d1599694 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
-_npmname=ionic
-_npmver=4.10.2
+# Maintainer: Sander van Kasteel <info at sandervankasteel dot nl>
+
pkgname=ionic-cli
-pkgver=4.10.2
+pkgver=6.12.0
pkgrel=1
pkgdesc="The Ionic command line interface (CLI) is your go-to tool for developing Ionic apps"
arch=(any)
@@ -9,15 +9,16 @@ url="http://ionicframework.com/"
license=('MIT')
depends=('nodejs' 'npm')
optdepends=()
-source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz)
-noextract=($_npmname-$_npmver.tgz)
-sha256sums=(f7e0134e0530a12b15a4a76bfe09952269f6c122d71574ba7fca4e56f3c13cfb)
+source=(http://registry.npmjs.org/@ionic/cli/-/cli-$pkgver.tgz)
+noextract=(cli-$pkgver.tgz)
+sha256sums=('0da9ab569a33594868877b62a0b14b8618330697e5a4601b9b6150d14ed23318')
package() {
cd "$srcdir"
+
local _npmdir="$pkgdir/usr/lib/node_modules/"
mkdir -p "$_npmdir"
+
cd "$_npmdir"
- npm install -g --prefix "$pkgdir/usr" "$srcdir"/$_npmname-$_npmver.tgz
+ npm install -g --prefix "$pkgdir/usr" "$srcdir"/cli-$pkgver.tgz
}
-