# Maintainer: Hugues Chabot _npmname=serverless _npmver=1.18.0 pkgname=nodejs-serverless # All lowercase pkgver=1.18.0 pkgrel=1 pkgdesc="Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more" arch=(any) url="https://github.com/serverless/serverless#readme" license=() depends=('nodejs' 'npm' ) optdepends=() source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz) noextract=($_npmname-$_npmver.tgz) sha1sums=(21cccd432da4310dcd923565ae3234bb7bc8f16c) 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: