# Maintainer: AbrarSyed pkgname=cloudfoundry-cli pkgver=6.47.2 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=('80e596abd2b74acf27635e2222a9a7fc') sha256sums=('b9cd5c866259b6e3d6b22a1dd00c3ee5ed9b599fb40a143be0ced116e8631a81') sha512sums=('ae48d002a78262542e9a535ece672fad50b6470a65b1db91dcdbc0918b383fee34033c8a937da24828360c81b2a7dd3b57354f5a553092b92c19afb410070422') 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" }