Date: Monday, July 23, 2018 @ 16:47:06 Author: foutrelis Revision: 363166
archrelease: copy trunk to community-staging-any Added: aws-cli/repos/community-staging-any/ aws-cli/repos/community-staging-any/PKGBUILD (from rev 363165, aws-cli/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: aws-cli/repos/community-staging-any/PKGBUILD (from rev 363165, aws-cli/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-23 16:47:06 UTC (rev 363166) @@ -0,0 +1,34 @@ +# Maintainer: Jonathan Steel <jsteel at archlinux.org> +# Contributor: Chris Severance aur.severach AatT spamgourmet.com +# Contributor: Alper KANAT <alperka...@raptiye.org> + +pkgname=aws-cli +pkgver=1.15.51 +pkgrel=2 +pkgdesc='Universal Command Line Interface for Amazon Web Services' +arch=('any') +url="https://github.com/aws/aws-cli" +license=('Apache') +depends=('python-botocore' 'python-dateutil' 'python-jmespath' + 'python-colorama' 'python-docutils' 'python-rsa' + 'python-s3transfer' 'python-yaml') +makedepends=('python-setuptools') +source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +md5sums=('ad6a4cdfafb7b475bc14be109d87acd3') + +build() { + cd $pkgname-$pkgver + + python setup.py build +} + +package() { + cd $pkgname-$pkgver + + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -Dm644 bin/aws_bash_completer "$pkgdir"/usr/share/bash-completion/completions/aws + + rm -f "$pkgdir"/usr/bin/{aws.cmd,aws_bash_completer} +}