summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e547708ed346fa7028e364ed311323fa84094631 (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
27
# auto-generated by nodejs-npm2arch
# yaourt -S nodejs-npm2arch
_npmname=webpack
_npmver=3.3.0
pkgname=nodejs-webpack # All lowercase
pkgver=3.3.0
pkgrel=1
pkgdesc="Packs CommonJs/AMD modules for the browser. Support loaders to preprocess json, jsx, es7, css, less files"
arch=(any)
url="http://github.com/webpack/webpack"
license=(MIT)
depends=('nodejs')
optdepends=()
makedepends=('npm')
source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz)
noextract=($_npmname-$_npmver.tgz)
sha256sums=('399dbf124d2780e5190b507ce5a13d594d2036ea3e13e11ad023072a08103e59')

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: