aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jfrog-cli-go/APKBUILD
diff options
context:
space:
mode:
authorGennady Feldman <gena01@gmail.com>2018-06-01 17:35:08 -0400
committerLeo <thinkabit.ukim@gmail.com>2019-06-13 20:02:30 -0300
commit405c417255b2e1bc8d0b4a7e9209cf9137abfca2 (patch)
treedf26e853d8cc2533e8562f363ebf5b671ba2816c /testing/jfrog-cli-go/APKBUILD
parent3659a69fdd27de0b166b708cc1cca032a6a0a96a (diff)
downloadaports-405c417255b2e1bc8d0b4a7e9209cf9137abfca2.tar.bz2
aports-405c417255b2e1bc8d0b4a7e9209cf9137abfca2.tar.xz
testing/jfrog-cli-go: new aport
Diffstat (limited to 'testing/jfrog-cli-go/APKBUILD')
-rw-r--r--testing/jfrog-cli-go/APKBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/jfrog-cli-go/APKBUILD b/testing/jfrog-cli-go/APKBUILD
new file mode 100644
index 0000000000..9de5ed67ba
--- /dev/null
+++ b/testing/jfrog-cli-go/APKBUILD
@@ -0,0 +1,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"