summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiago Requeijo2017-10-17 13:59:13 -0400
committerTiago Requeijo2017-10-17 13:59:13 -0400
commit4ad9d8035df62ebbe50568b5c14841bc83f9e764 (patch)
treef7afb43dbc2ecb799303ed7a3d23b5f7b067ca6a
downloadaur-4ad9d8035df62ebbe50568b5c14841bc83f9e764.tar.gz
Initial version, 3.13.1
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..91cab89d18e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = ionic-cli
+ pkgdesc = The Ionic command line interface (CLI) is your go-to tool for developing Ionic apps
+ pkgver = 3.13.1
+ pkgrel = 1
+ url = http://ionicframework.com/
+ arch = any
+ license = MIT
+ depends = nodejs
+ depends = npm
+ noextract = ionic-3.13.1.tgz
+ source = http://registry.npmjs.org/ionic/-/ionic-3.13.1.tgz
+ sha256sums = 54e9096bdedd5d95fb2c88ed13189ccef99da27aac98f4490ee58dec8ee10009
+
+pkgname = ionic-cli
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..72b4a8d4557
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+_npmname=ionic
+_npmver=3.13.1
+pkgname=ionic-cli
+pkgver=3.13.1
+pkgrel=1
+pkgdesc="The Ionic command line interface (CLI) is your go-to tool for developing Ionic apps"
+arch=(any)
+url="http://ionicframework.com/"
+license=('MIT')
+depends=('nodejs' 'npm')
+optdepends=()
+source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz)
+noextract=($_npmname-$_npmver.tgz)
+sha256sums=(54e9096bdedd5d95fb2c88ed13189ccef99da27aac98f4490ee58dec8ee10009)
+
+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
+ rm -r "$pkgdir"/usr/etc
+}
+