updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / nodejs-calipso / PKGBUILD
blobc04516f03847913b77107a88a9581f220c061ffc
1 # Author: Clifton Cunningham <clifton.cunningham@gmail.com> (cliftoncunningham.co.uk)
2 # Maintainer: cliftonc <clifton.cunningham@gmail.com>
3 _npmname=calipso
4 pkgname=nodejs-calipso # All lowercase
5 pkgver=0.2.3
6 pkgrel=1
7 pkgdesc="A NodeJS CMS"
8 arch=(any)
9 url="http://calip.so"
10 license=()
11 depends=(nodejs)
12 source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
13 noextract=($_npmname-$pkgver.tgz)
14 sha1sums=(73c06ce5d4bce9e1af7db016cdd3fcabb2e69634)
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: