diff options
author | Antoine Lubineau | 2015-09-15 15:29:16 +0200 |
---|---|---|
committer | Antoine Lubineau | 2015-09-15 15:29:16 +0200 |
commit | f1d9125e4b6096c253dfe14f11a8994cbe01c825 (patch) | |
tree | f994ac819fd8695b1b76caccaf267bb81fe812e6 | |
download | aur-f1d9125e4b6096c253dfe14f11a8994cbe01c825.tar.gz |
0.9.9
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ca1c23c11999 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = nodejs-azure-cli + pkgdesc = Windows Azure Cross Platform Command Line tool + pkgver = 0.9.9 + pkgrel = 1 + url = https://github.com/Azure/azure-xplat-cli + arch = any + license = Apache + depends = nodejs + noextract = azure-cli-0.9.9.tgz + options = !strip + source = http://registry.npmjs.org/azure-cli/-/azure-cli-0.9.9.tgz + sha256sums = 585af418f18a84d0236f13c23f10a44ae2957d06e366ea34b293a0c9a7927866 + +pkgname = nodejs-azure-cli + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f304b50a1947 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Antoine Lubineau <antoine@lubignon.info> +# Contributor: Philipp Wolfer <ph.wolfer@gmail.com> + +_npmname=azure-cli +_npmver=0.9.9 +pkgname=nodejs-${_npmname} # All lowercase +pkgver=${_npmver} +pkgrel=1 +pkgdesc="Windows Azure Cross Platform Command Line tool" +arch=(any) +url="https://github.com/Azure/azure-xplat-cli" +license=('Apache') +depends=('nodejs') +source=("http://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz") +noextract=("$_npmname-$_npmver.tgz") +options=(!strip) +sha256sums=('585af418f18a84d0236f13c23f10a44ae2957d06e366ea34b293a0c9a7927866') + +package() { + cd $srcdir + local _npmdir="$pkgdir/usr/lib/node_modules/" + mkdir -p $_npmdir + cd $_npmdir + npm install -g --prefix "$pkgdir/usr" $_npmname@$_npmver +} + +# vim:set ts=2 sw=2 et: |