blob: 4bfaca2163110723150fb39804486ca0fa412449 (
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: kpcyrd <kpcyrd[at]archlinux[dot]org>
pkgname=serverless
pkgver=3.38.0
pkgrel=2
pkgdesc='Serverless Framework - Build web, mobile and IoT applications with serverless architectures'
url='https://github.com/serverless/serverless'
arch=('any')
license=('MIT')
depends=('nodejs')
makedepends=('npm')
source=(https://registry.npmjs.org/${pkgname}/-/${pkgname}-${pkgver}.tgz)
noextract=(${pkgname}-${pkgver}.tgz)
sha256sums=('86db353e26099b611bb3e6eef1f789b33802000dc818ae73f10b3a39bbe450d4')
b2sums=('9fd0b97f235081aa2675d4347f2796ed4925f2b2e732d6baba4e1fe6f127e22102b0cb97fc79607465349dfd7ba75ea3cbc26951c28cc2954246c1a7aa079d17')
package() {
npm install -g --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}-${pkgver}.tgz"
# npm installs package.json owned by build user
# https://bugs.archlinux.org/task/63396
chown -R root:root "${pkgdir}"
}
# vim: ts=2 sw=2 et:
|