1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="Node.js virtual environment builder"
7 url="https://github.com/ekalinin/nodeenv"
10 depends=('python-setuptools' 'make')
11 optdepends=('nodejs: for --node=system')
12 checkdepends=('nodejs' 'python-pytest-runner' 'python-coverage' 'python-mock')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/ekalinin/nodeenv/archive/$pkgver.tar.gz")
14 sha512sums=('1e3e4068591d51d8915de73ab0f82f04620ca628152ec5a454e7ad18001ff20b698f9818353c44b80200ab529d95fa3196a3dbc85f0c497ea49f60eaa5dc9ea7')
23 python setup.py pytest
28 python setup.py install --root="$pkgdir" --optimize=1
30 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/