blob: fa331a1610b3a19fd883b1d96ad2ac04c8e8ddb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Christoph Scholz <christoph.scholz@gmail.com>
_npmname=node-red
_npmver=0.18.4
pkgname=nodejs-${_npmname}
pkgver=${_npmver}
pkgrel=1
pkgdesc="A visual tool for wiring the Internet of Things."
arch=(any)
url="https://nodered.org"
license=(APACHE)
depends=('nodejs')
makedepends=('npm')
optdepends=()
source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz)
noextract=($_npmname-$_npmver.tgz)
sha256sums=('811a8783ebf38a3b395e77944d7fb83bc40b732a659198bb5bdc847cd91a2474')
package() {
mkdir -p ${pkgdir}/usr/lib/node_modules
cd ${pkgdir}/usr/lib/node_modules
npm install --global --user root --prefix ${pkgdir}/usr/lib/node_modules $_npmname@$_npmver
}
|