parent
9f42c01a76
commit
5f9eb099cf
1 changed files with 26 additions and 0 deletions
26
srcpkgs/aws-cli/template
Normal file
26
srcpkgs/aws-cli/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'aws-cli'
|
||||||
|
pkgname=aws-cli
|
||||||
|
version=1.16.155
|
||||||
|
revision=1
|
||||||
|
archs=noarch
|
||||||
|
wrksrc="aws-cli-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
pycompile_module="aws-cli"
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3-botocore python3-s3transfer python3-colorama python3-rsa
|
||||||
|
python3-yaml python3-docutils"
|
||||||
|
short_desc="Universal Command Line Interface for Amazon Web Services"
|
||||||
|
maintainer="Robert Lowry <bobertlo@gmail.com>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="https://github.com/aws/aws-cli"
|
||||||
|
distfiles="https://github.com/aws/aws-cli/archive/${version}.tar.gz"
|
||||||
|
checksum=14bd9a4624e570349dae002e583fce41e6c81066cc6cea9afffe663f4d1c71f9
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
vinstall bin/aws_bash_completer 644 usr/share/bash-completion/completions aws
|
||||||
|
vinstall bin/aws_zsh_completer.sh 644 usr/share/zsh/site-functions _aws
|
||||||
|
rm "${DESTDIR}/usr/bin/aws_bash_completer"
|
||||||
|
rm "${DESTDIR}/usr/bin/aws_zsh_completer.sh"
|
||||||
|
rm "${DESTDIR}/usr/bin/aws.cmd"
|
||||||
|
}
|
Loading…
Reference in a new issue