summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8bfb680faafc48ba6db3ceb1d75473a81cb02cd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: smahs <shemzzz@gmail.com>
# Contributor: Felix Golatofski <contact@xdfr.de>

pkgname=nodejs-ajv-cli # All lowercase
_pkgname=${pkgname#nodejs-}
pkgver=5.0.0
pkgrel=1
pkgdesc="A command line interface for epoberezkin/ajv JSON schema validator"
arch=(any)
url="https://github.com/jessedc/ajv-cli#readme"
license=()
depends=('nodejs' 'npm' )
optdepends=()
source=(http://registry.npmjs.org/$_pkgname/-/$_pkgname-$pkgver.tgz)
noextract=($_pkgname-$pkgver.tgz)
sha1sums=('78956ed2934e6dde4c9e696b587be1c2998862e8')

package() {
  install -dm755 "$pkgdir/usr/lib/node_modules"
  npm install -g --prefix "$pkgdir/usr" $_pkgname@$pkgver
}