aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jfrog-cli-go/APKBUILD
blob: 9de5ed67baa8abd147e81eed51c918d52f9ecdb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Gennady Feldman <gena01@gmail.com>
pkgname=jfrog-cli-go
pkgver=1.26.0
pkgrel=0
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"