summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 82f7b28333e871a05815425db431a8ae75ba07b5 (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
26
# Maintainer: Marco Pompili <aur at mg.odd.red>
# Contributor: Hugues Chabot <at google mail>
_npmname=budo
_npmver=11.6.4
pkgname=nodejs-budo # All lowercase
pkgver=11.6.4
pkgrel=1
pkgdesc="a browserify server for rapid prototyping"
arch=(any)
url="https://github.com/mattdesl/budo"
license=(MIT)
depends=('nodejs' 'npm')
optdepends=()
source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz)
noextract=($_npmname-$_npmver.tgz)
sha1sums=('5f71c3b097d639ef98d516293f81fe676b090706')

package() {
  cd $srcdir
  local _npmdir="$pkgdir/usr/lib/node_modules/"
  mkdir -p $_npmdir
  cd $_npmdir
  npm install -g --prefix "$pkgdir/usr" $_npmname@$_npmver
}

# vim:set ts=2 sw=2 et: