summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cd31e0906a832f02ce1e1bee14f7bd439ccba8bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Dániel Kántor <aur@daniel-kantor.com>
_npmname=emuto-cli
_npmver=1.8.0
pkgname=emuto # All lowercase
pkgver=1.8.0
pkgrel=2
pkgdesc="transform data files"
arch=(any)
url="https://github.com/kantord/emuto-cli"
license=(MIT)
depends=('nodejs' 'npm')
optdepends=()
source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz)
noextract=($_npmname-$_npmver.tgz)
sha1sums=('b6b4a7e748f343d5af685ba8950ab1a63be12049')

package() {
  cd $srcdir
  local _npmdir="$pkgdir/usr/lib/node_modules/"
  mkdir -p $_npmdir
  cd $_npmdir
  npm install -g --prefix "$pkgdir/usr" $_npmname@$_npmver
}

# vim:set ts=2 sw=2 et: