# Maintainer: Pierre-Yves Ritschard # Contributor: FabioLolix pkgname=exoscale-cli-bin pkgver=1.74.5 pkgrel=1 pkgdesc="Command-line tool for everything at Exoscale: compute, storage, dns" arch=('x86_64') url="https://github.com/exoscale/cli" license=('Apache') validpgpkeys=('7100E8BFD6199CE0374CB7F003686F8CDE378D41') provides=('exoscale-cli') conflicts=('exoscale-cli') source=("https://github.com/exoscale/cli/releases/download/v${pkgver}/exoscale-cli_${pkgver}_linux_amd64.tar.gz" "https://github.com/exoscale/cli/releases/download/v${pkgver}/exoscale-cli_${pkgver}_linux_amd64.tar.gz.sig") sha256sums=('5caa80f95282c6217192500da2713228da2b9fd258d66f75724b023a831a7266' 'SKIP') if [ $SKIPPGPCHECK = 0 ] && ! gpg --list-keys 7100E8BFD6199CE0374CB7F003686F8CDE378D41 >/dev/null 2>&1; then warning "This package is signed with a GPG key that is not on your system." warning "To install this package, you either need to import the key:" warning "" warning " gpg --keyserver keys.openpgp.org --recv-key 7100E8BFD6199CE0374CB7F003686F8CDE378D41" warning "" warning "Or you may install the package without checking the signature:" warning "" warning " makepkg --skippgpcheck" fi package() { install -Dm755 "${srcdir}/exo" "${pkgdir}/usr/bin/exo" install -d 755 "${pkgdir}/usr/share/bash-completion/completions" install -Dm 644 "${srcdir}/contrib/completion/bash/exo" "${pkgdir}/usr/share/bash-completion/completions/exo" install -d 755 "${pkgdir}/usr/share/man/man1" install -Dm 644 "${srcdir}/manpage/"* -t "${pkgdir}/usr/share/man/man1" }