24 lines
896 B
Bash
24 lines
896 B
Bash
# Template file for 'aws-cli'
|
|
pkgname=aws-cli
|
|
version=1.18.125
|
|
revision=2
|
|
wrksrc="aws-cli-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="groff 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=97f632fb7aede8f7986a4bd381f3d460606e9c31ef91f02388f7895dd5822c27
|
|
|
|
post_install() {
|
|
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"
|
|
}
|