summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5a0863657ed12c84cfbddeb0e6015615f1ca4a1 (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
27
28
29
30
# Maintainer: Chris Snell <chris dot snell at gmail point com>

pkgname=gimme-aws-creds
pkgver=2.4.3
pkgrel=2
pkgdesc='CLI tool for using Okta IdP to acquire temporary AWS credentials via STS'
arch=('any')
url="https://github.com/Nike-Inc/gimme-aws-creds"
license=('Apache')
depends=('python-botocore' 'python-dateutil' 'python-beautifulsoup4'
         'python-keyring' 'python-requests' 'python-fido2' 'python-okta-legacy'
         'python-boto3' 'python-ctap-keyring-device')
makedepends=('python-setuptools')
source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz)
sha512sums=('740f3460b535346342177dd3139a139440358ab186f38d9129214176a446c7628f7a02ac4dd7e1e7315352a60c6d329168cbc066b6d35c8fa9f097593f230a13')

build() {
  cd $pkgname-$pkgver

  python setup.py build
}

package() {
  cd $pkgname-$pkgver

  python setup.py install --root="$pkgdir" --optimize=1

  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}