aboutsummaryrefslogblamecommitdiffstats
path: root/testing/jfrog-cli/APKBUILD
blob: 09f11fb007c992a8f250042c47852fb767f3003b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                

                 
        





                               

                                        
                                                                                          

         
                                       






                                                                         
                                                                                                                                                                      
# Maintainer: Gennady Feldman <gena01@gmail.com>
pkgname=jfrog-cli
pkgver=1.29.1
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/$pkgname/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="e52e619cf93616b667cec62870c20a0cf75054c19297caea4a388311849ac6e43348215f253b6541262514dbddc73572487ee8b3ef10192d882afb36687ca6cb  jfrog-cli-1.29.1.tar.gz"