[arch-commits] Commit in aws-cli/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 19:54:45 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:54:44
  Author: foutrelis
Revision: 753681

archrelease: copy trunk to community-staging-any

Added:
  aws-cli/repos/community-staging-any/
  aws-cli/repos/community-staging-any/PKGBUILD
    (from rev 753680, aws-cli/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: aws-cli/repos/community-staging-any/PKGBUILD (from rev 753680, aws-cli/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:54:44 UTC (rev 753681)
@@ -0,0 +1,34 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Chris Severance aur.severach AatT spamgourmet.com
+# Contributor: Alper KANAT <alperkanat at raptiye.org>
+
+pkgname=aws-cli
+pkgver=1.18.173
+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=('e6d768804f01f7dcba33f45b20c5de01')
+
+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}
+}



More information about the arch-commits mailing list