summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 69feec8fe2613b3aaeb37571351d33795def41eb (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: John Lane <archlinux at jelmail.com>

pkgname=aws-vault-bin
pkgver=5.4.4
pkgrel=1
pkgdesc="a tool to securely store and access AWS credentials in a development environment"
url="https://github.com/99designs/aws-vault"
conflicts=('aws-vault')
provides=('aws-vault')
license=('MIT')
arch=('x86_64')
source=(
  "https://raw.githubusercontent.com/99designs/aws-vault/v${pkgver}/LICENSE"
  "aws-vault-linux-amd64-${pkgver}::https://github.com/99designs/aws-vault/releases/download/v${pkgver}/aws-vault-linux-amd64"
)
sha256sums=('f57f886a33e0ae7b50093f19051e65edcd1fde7cde63caa6b1ba4254856f4e4f'
            '216695e63583296fd7b4202f86479af8da3a7fb00929a22952e9d4bc95fd0d66')

package() {
  install -D -m 644 "${srcdir}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -D -m 755 "${srcdir}/${source[1]%%::*}" "${pkgdir}/usr/bin/${pkgname%-bin}"
}

# vim:set ts=2 sw=2 et: