# Maintainer: Gennady Feldman pkgname=jfrog-cli pkgver=1.30.4 pkgrel=0 pkgdesc="JFrog cli" url="https://jfrog.com/getcli/" arch="all" license="Apache-2.0" makedepends="go" options="!check" replaces="jfrog-cli-go" provides="jfrog-cli-go=$pkgver-r$pkgrel" source="$pkgname-$pkgver.tar.gz::https://github.com/jfrog/jfrog-cli/archive/$pkgver.tar.gz" build() { go run ./python/addresources.go go build -o bin/jfrog -ldflags '-w -extldflags "-static"' main.go } package() { install -m755 -D bin/jfrog "$pkgdir/usr/bin/jfrog" } sha512sums="3b7670ce138499630bfc9135e4d88e85fa1e65b871d5ee1b313dec388f229d00f228fcd350fa6156a5a0b64cbc8338753e4f94a237e54d6058f61b92e9629c30 jfrog-cli-1.30.4.tar.gz"