updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / nodejs-stylus / PKGBUILD
blob4078fdfc1b49af761768e5a7e3ffc562c81381ef
1 # Author: TJ Holowaychuk <tj@vision-media.ca>
2 # Maintainer: tjholowaychuk <tj@vision-media.ca>
3 _npmname=stylus
4 pkgname=nodejs-stylus # All lowercase
5 pkgver=0.22.5
6 pkgrel=1
7 pkgdesc="Robust, expressive, and feature-rich CSS superset"
8 arch=(any)
9 url="http://github.com/learnboost/stylus"
10 license=()
11 depends=(nodejs)
12 source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
13 noextract=($_npmname-$pkgver.tgz)
14 sha1sums=(8ec2168edaf9e9d8d002fe34311ec30c57097fb0)
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: