blob: b8917d3ff35b051967e6b999a9c7532a90502f6b (
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
|
# Maintainer: aksel <aksel@akseltorgard.com>
pkgname=aws-sam-cli-bin
pkgver=1.19.1
pkgrel=2
pkgdesc='CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM'
arch=('any')
url='https://github.com/awslabs/aws-sam-cli'
license=('Apache')
optdepends=('docker')
source=("https://github.com/aws/aws-sam-cli/releases/download/v$pkgver/aws-sam-cli-linux-x86_64.zip")
sha256sums=('2d31d832a1a10e02b461703b188d58164aeda5ac3b79fe4c5919014fd7ff4c20')
provides=("aws-sam-cli")
conflicts=("aws-sam-cli")
package() {
# install dist
mkdir -p "$pkgdir/usr/local/share/aws-sam-cli/$pkgver"
cp -r "$srcdir/dist" "$pkgdir/usr/local/share/aws-sam-cli/$pkgver"
# symlink the binary
mkdir -p "$pkgdir/usr/local/bin"
ln -s "../share/aws-sam-cli/$pkgver/dist/sam" "$pkgdir/usr/local/bin/sam"
}
|