updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / nodejs-aur / PKGBUILD
blob89efb4c8b06fa91ca25b5a3c7b2227be9fad29b0
1 # Author: Filirom1 <filirom1@gmail.com>
2 # Maintainer: filirom1 <filirom1@gmail.com>
3 _npmname=aur
4 pkgname=nodejs-aur # All lowercase
5 pkgver=0.1.1
6 pkgrel=1
7 pkgdesc="Archlinux AUR cli"
8 arch=(any)
9 url="https://github.com/Filirom1/nodejs-aur"
10 license=(MIT)
11 depends=(nodejs)
12 source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
13 noextract=($_npmname-$pkgver.tgz)
14 sha1sums=(81c19b1ef2dc67eb7226255f08b53f80f3500dfc)
15 build() {
16   cd $srcdir
17   local _npmdir="$pkgdir/usr/lib/node_modules/"
18   mkdir -p $_npmdir
19   cd $_npmdir
20   npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
22 # vim:set ts=2 sw=2 et: