diff options
author | aksel | 2022-02-23 14:54:11 +0200 |
---|---|---|
committer | aksel | 2022-02-23 14:54:11 +0200 |
commit | 9df3c31222b64ccc34c36041bb44e9e8f157694d (patch) | |
tree | 0a91450636f5d782634851add57d1c274c20e008 | |
parent | 8bc5156b4f1459ce1c3e1b29c0997f9719829726 (diff) | |
download | aur-9df3c31222b64ccc34c36041bb44e9e8f157694d.tar.gz |
v1.38.1-v1.38.1-22
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 10 insertions, 12 deletions
@@ -1,14 +1,14 @@ pkgbase = aws-sam-cli-bin pkgdesc = CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM pkgver = 1.38.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/aws/aws-sam-cli - arch = any + arch = x86_64 license = Apache optdepends = docker provides = aws-sam-cli conflicts = aws-sam-cli - source = https://github.com/aws/aws-sam-cli/releases/download/v1.38.1/aws-sam-cli-linux-x86_64.zip + source = aws-sam-cli-linux-1.38.1-x86_64.zip::https://github.com/aws/aws-sam-cli/releases/download/v1.38.1/aws-sam-cli-linux-x86_64.zip sha256sums = ce42d355437d69ee33e12a76747e53c8d383c4e7f505a986d498b2028c2c55b1 pkgname = aws-sam-cli-bin @@ -2,23 +2,21 @@ pkgname=aws-sam-cli-bin pkgver=1.38.1 -pkgrel=1 +pkgrel=2 pkgdesc="CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM" -arch=("any") +arch=("x86_64") url="https://github.com/aws/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") +source=("aws-sam-cli-linux-$pkgver-x86_64.zip::https://github.com/aws/aws-sam-cli/releases/download/v$pkgver/aws-sam-cli-linux-x86_64.zip") sha256sums=("ce42d355437d69ee33e12a76747e53c8d383c4e7f505a986d498b2028c2c55b1") 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" - + # install + $srcdir/install -i "$pkgdir/usr/share/aws-sam-cli" -b "$pkgdir/usr/bin" >/dev/null + # symlink the binary - mkdir -p "$pkgdir/usr/local/bin" - ln -s "../share/aws-sam-cli/$pkgver/dist/sam" "$pkgdir/usr/local/bin/sam" + ln -sf "$pkgdir/usr/share/aws-sam-cli/$pkgver/dist/sam" "$pkgdir/usr/bin/sam" } |