blob: 0fb191b7837c7681dc130a3d611a4d7f4497a9fb (
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
26
|
# Maintainer: Christoph Gysin <christoph.gysin@gmail.com>
pkgname=(nodejs-aws-cdk)
pkgver=1.37.0
pkgrel=1
pkgdesc="CDK Toolkit, the command line tool for CDK apps"
arch=(any)
url="https://github.com/awslabs/aws-cdk#readme"
license=('Apache')
makedepends=('npm')
source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
sha1sums=('2e6ad6853b32c2b35e163d4abd9eeffb1c95e723')
#package_nodejs-aws-cdk() {
# depends=(aws-cdk)
#}
package_nodejs-aws-cdk() {
depends=('nodejs')
optdepends=('python: python language support')
local _npmdir="$pkgdir/usr/lib/node_modules/"
mkdir -p $_npmdir
cd $_npmdir
npm install -g --prefix "$pkgdir/usr" $pkgname@$pkgver
}
|