blob: 15148bce56d3efb64de8e0af0ed22e0c2ab5309d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
# Maintainer (Arch): Mario Finelli <mario dot finelli at yahoo dot com>
# Contributor (Arch): Andy Weidenbaum <archbaum at gmail dot com>
# Contributor (Arch): Peter Wu <lekensteyn at gmail dot com>
_npmname=grunt-cli
pkgname=nodejs-$_npmname
pkgver=0.1.13
pkgrel=6
pkgdesc="The grunt command line interface."
arch=('any')
url="http://gruntjs.com/"
license=('MIT')
depends=('nodejs' 'npm')
source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
noextract=($_npmname-$pkgver.tgz)
sha256sums=('e639404d7b66ae2821edabc681104a1f035910ff20a2e21d67329c2a7674a443')
options=('!emptydirs')
package() {
local _npmdir="$pkgdir/usr/lib/node_modules/"
mkdir -p "$_npmdir"
cd "$_npmdir"
npm install --user root -g grunt-cli --prefix "$pkgdir/usr" ## Packagers note: It is not possible to package this inside a clean offline chroot due to NPM bug #2568.
}
|