# Maintainer: Caleb Maclennan # Contributor: Justin Dray # Contributor: Florent Peterschmitt _npmname=jsonlint pkgname=nodejs-"$_npmname" pkgver=1.6.3 pkgrel=3 pkgdesc='Validate JSON' arch=('any') url="https://zaa.ch/$_npmname}/" license=('MIT') depends=('nodejs') makedepends=('nodejs' 'npm') source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz") sha256sums=('987f42f0754b7bc0c84967b81fc2b4db0ed2ebe2117ccc5a5faa59e462447723') noextract=("${source[@]##*/}") package() { npm install -g --prefix "$pkgdir/usr" "${source[@]##*/}" }