diff options
author | Gennady Feldman <gena01@gmail.com> | 2019-09-26 10:18:07 -0400 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-10-03 11:47:07 +0200 |
commit | 5669b7a04380bc04c004b02c2126b207807e2cd9 (patch) | |
tree | 68f866bf38622c2d65605730e1ff4afbe50d3c15 /testing/jfrog-cli | |
parent | f7d89f85688c8091ee157cb2350c0ed40ba8346e (diff) | |
download | aports-5669b7a04380bc04c004b02c2126b207807e2cd9.tar.bz2 aports-5669b7a04380bc04c004b02c2126b207807e2cd9.tar.xz |
testing/jfrog-cli: Update to 1.29.1
* Also renamed the package since the github repo was renamed as well.
* Added replaces/provides line to make an easier upgrade.
Diffstat (limited to 'testing/jfrog-cli')
-rw-r--r-- | testing/jfrog-cli/APKBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/jfrog-cli/APKBUILD b/testing/jfrog-cli/APKBUILD new file mode 100644 index 0000000000..09f11fb007 --- /dev/null +++ b/testing/jfrog-cli/APKBUILD @@ -0,0 +1,24 @@ +# 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" |