# Maintainer: Gennady Feldman pkgname=jfrog-cli-go pkgver=1.26.0 pkgrel=1 pkgdesc="JFrog cli" url="https://jfrog.com/getcli/" arch="all" license="Apache-2.0" makedepends="go" options="!check" source="$pkgname-$pkgver.tar.gz::https://github.com/jfrog/$pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { go build -o bin/jfrog -ldflags '-w -extldflags "-static"' main.go } package() { install -m755 -D bin/jfrog "$pkgdir/usr/bin/jfrog" } sha512sums="c09a9c1723443c0e7ef67f46e00ca97e3467b9550615fd078ea65eb2444d8e53326aa5a269a3b5bbfd15551951d8d6d13b0ad806707436aa0b920b8207611cd8 jfrog-cli-go-1.26.0.tar.gz"