1 # Maintainer: Louis R. Marascio <lrm@fitnr.com>
7 pkgdesc="AWS Identity and Access Management (IAM) command line tools"
9 url="http://aws.amazon.com/iam/"
11 depends=('java-runtime' 'sh')
12 install='aws-iam.install'
13 source=(http://awsiammedia.s3.amazonaws.com/public/tools/cli/latest/IAMCli.zip)
14 md5sums=('24454ac0bc1db5196add524ac4cdcb3d')
17 cd "$srcdir/$_pkgdirname-$pkgver"
19 sed -i "s,\#\!/bin/sh,\#\!/bin/sh\n\nAWS_IAM_HOME=/usr," bin/*
20 mkdir -p "$pkgdir/usr"
21 mkdir -p "$pkgdir/usr/share/licenses/$pkgname/"
22 mkdir -p "$pkgdir/usr/share/doc/$pkgname/"
26 cd "$srcdir/$_pkgdirname-$pkgver"
27 cp -r lib "$pkgdir/usr"
28 cp -r bin "$pkgdir/usr"
29 install -Dm0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/"
30 install -Dm0644 README.txt "$pkgdir/usr/share/doc/$pkgname/"
31 install -Dm0644 aws-credential.template "$pkgdir/usr/share/doc/$pkgname/"
32 install -Dm0644 client-config.template "$pkgdir/usr/share/doc/$pkgname/"
35 # vim:set ts=2 sw=2 et: