blob: 03c3ea1d9f7862b2f43d66f0cccae25605a0d154 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=cloudfoundry-cli
pkgver=6.49.0
pkgrel=0
pkgdesc="A CLI for Cloud Foundry written in Go"
url="https://github.com/cloudfoundry/cli"
arch="all !s390x !armv7"
license="Apache-2.0"
makedepends="go bash"
source="$pkgname-$pkgver.tar.gz::https://github.com/cloudfoundry/cli/archive/v$pkgver.tar.gz"
builddir="$srcdir/cli-$pkgver"
build() {
mkdir -p src/code.cloudfoundry.org/
ln -fs "$builddir" src/code.cloudfoundry.org/cli
cd src/code.cloudfoundry.org/cli
GOPATH="$builddir" make build
}
package() {
mkdir -p "$pkgdir"/usr/bin
install -Dm755 out/cf out/cf6 \
"$pkgdir"/usr/bin
}
sha512sums="79195dd6b2de4e00f2edce6845bea006512d3eaa9e7e252f1e97c72482cb3232e6f999e16a9d9c60ece72badb61bab5daaa482035f1e9b8cdf2542b0f7f6b163 cloudfoundry-cli-6.49.0.tar.gz"
|