updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / nodejs-jade / PKGBUILD
blob1e5b43d3cd688e26bb1e7b377fcb79376f346824
1 # Author: TJ Holowaychuk <tj@vision-media.ca>
2 # Maintainer: tjholowaychuk <tj@vision-media.ca>
3 _npmname=jade
4 pkgname=nodejs-jade # All lowercase
5 pkgver=0.20.0
6 pkgrel=1
7 pkgdesc="Jade template engine"
8 arch=(any)
9 url="http://github.com/visionmedia/jade"
10 license=()
11 depends=(nodejs)
12 source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
13 noextract=($_npmname-$pkgver.tgz)
14 sha1sums=(2c8f3742bcf87dc49c88e505c01f72563d1fcf2e)
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: