[arch-commits] Commit in aws-cli/repos (2 files)
Jonathan Steel
jsteel at archlinux.org
Tue Oct 4 09:21:03 UTC 2016
Date: Tuesday, October 4, 2016 @ 09:21:02
Author: jsteel
Revision: 191299
archrelease: copy trunk to community-testing-any
Added:
aws-cli/repos/community-testing-any/
aws-cli/repos/community-testing-any/PKGBUILD
(from rev 191298, aws-cli/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: aws-cli/repos/community-testing-any/PKGBUILD (from rev 191298, aws-cli/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2016-10-04 09:21:02 UTC (rev 191299)
@@ -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.11.0
+pkgrel=1
+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=('1b520c4a9ed4dc102fc3efcaa743ccfa')
+
+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