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

Jonathan Steel jsteel at archlinux.org
Mon Sep 12 13:58:56 UTC 2016


    Date: Monday, September 12, 2016 @ 13:58:55
  Author: jsteel
Revision: 189203

archrelease: copy trunk to community-testing-any

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

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

Copied: aws-cli/repos/community-testing-any/PKGBUILD (from rev 189202, aws-cli/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2016-09-12 13:58:55 UTC (rev 189203)
@@ -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.10.63
+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')
+makedepends=('python-setuptools')
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+md5sums=('c08d5a1a3c656dad1b91132c3a53ef55')
+
+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