summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 65cda342543e4f948424eb4a1b8477d046fa4ec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=nodejs-graphite-cli
_pkgname=${pkgname#nodejs-}
pkgver=0.20.19
pkgrel=1
pkgdesc="graphite.dev terminal client"
arch=('any')
url="https://github.com/withgraphite/graphite-cli"
license=('AGPL-3.0')
depends=('nodejs')
makedepends=('npm')
options=(!strip)

package() {
  npm \
    install \
    --user root \
    --global    \
    --prefix "${pkgdir}/usr" \
    --cache  "${srcdir}/npm-cache" \
    "@withgraphite/${_pkgname}@${pkgver}"
}