diff options
author | Mario Finelli | 2015-07-03 09:44:34 -0400 |
---|---|---|
committer | Mario Finelli | 2015-07-03 09:44:34 -0400 |
commit | 5345054175a3ff448d3c8e3db05f118463557d4d (patch) | |
tree | ac90e674deb4a97601e55d9ceec7b2b60222c445 | |
download | aur-5345054175a3ff448d3c8e3db05f118463557d4d.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 24 |
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5c0f0ea8ad9d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = nodejs-grunt-cli + pkgdesc = The grunt command line interface + pkgver = 0.1.13 + pkgrel = 5 + url = http://gruntjs.com/ + arch = any + license = MIT + depends = nodejs + depends = npm + noextract = grunt-cli-0.1.13.tgz + source = https://registry.npmjs.org/grunt-cli/-/grunt-cli-0.1.13.tgz + sha256sums = e639404d7b66ae2821edabc681104a1f035910ff20a2e21d67329c2a7674a443 + +pkgname = nodejs-grunt-cli + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f71c635dafda --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b5ede135b6ea --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Mario Finelli <mario dot finelli at yahoo dot com> +# Contributor: Andy Weidenbaum <archbaum at gmail dot com> +# Contributor: Peter Wu <lekensteyn at gmail dot com> + +_npmname=grunt-cli +pkgname=nodejs-$_npmname +pkgver=0.1.13 +pkgrel=5 +pkgdesc="The grunt command line interface" +arch=('any') +url="http://gruntjs.com/" +license=('MIT') +depends=('nodejs' 'npm') +source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz) +noextract=($_npmname-$pkgver.tgz) +sha256sums=('e639404d7b66ae2821edabc681104a1f035910ff20a2e21d67329c2a7674a443') + +package() { + cd "$srcdir" + local _npmdir="$pkgdir/usr/lib/node_modules/" + mkdir -p "$_npmdir" + cd "$_npmdir" + npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver +} |