# Maintainer : nyyu _npmname=generator-jhipster pkgname=nodejs-generator-jhipster pkgver=6.2.0 pkgrel=1 pkgdesc="Spring Boot + Angular/React in one handy generator" arch=('any') url="https://jhipster.github.io/" license=('APACHE') depends=('npm') source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz") noextract=($_npmname-$pkgver.tgz) sha256sums=('cf1f83862130386f47cc7a11ef5e332abd58e7e7e7cf780bcfc01bfac3b60035') package() { npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$_npmname-$pkgver.tgz find "$pkgdir"/usr/lib/node_modules/$_npmname/node_modules -type d -exec chmod 755 {} \; }