# Maintainer: AbrarSyed pkgname=cloudfoundry-cli pkgver=6.48.0 pkgrel=1 pkgdesc="The official command line client for Cloud Foundry" arch=('x86_64') url="https://github.com/cloudfoundry/cli" license=('Apache') provides=() options=('!emptydirs' '!strip') source=("cf-cli-${pkgver}-amd64.tar.gz::https://cli.run.pivotal.io/stable?release=linux64-binary&version=${pkgver}&source=github-rel") md5sums=('1eabd4f900c305f5652cd58ce01030cc') sha256sums=('70ffba5d848e0637b6e2b91818a95d6c5eefe410237233ddcfcef197c175d447') sha512sums=('0bdb0000dd57dbc465f2e6c8092a7cc551b86162fa78c6532094a2c743b1b427242de963999cc1e3791bad1473b2384ed3bc661e51e4600e5646a82fe8e51b6f') package() { # copy binary mkdir -p "$pkgdir/usr/bin" install $srcdir/cf "$pkgdir/usr/bin" #copy license & notice mkdir -p "$pkgdir/usr/share/doc/cf-cli" install $srcdir/LICENSE "$pkgdir/usr/share/doc/cf-cli/LICENSE" install $srcdir/NOTICE "$pkgdir/usr/share/doc/cf-cli/NOTICE" }