app-admin/hcloud: version bump to 1.16.2
authorAgostino Sarubbo <ago@gentoo.org>
Thu, 16 Apr 2020 12:00:40 +0000 (14:00 +0200)
committerAgostino Sarubbo <ago@gentoo.org>
Thu, 16 Apr 2020 12:00:40 +0000 (14:00 +0200)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
app-admin/hcloud/Manifest
app-admin/hcloud/hcloud-1.16.2.ebuild [new file with mode: 0644]

index 5750606b876c2de82e6820f7131045a4978b4cac..bc06a4c611460f9983f906b54990b5683b0303a7 100644 (file)
@@ -1 +1,2 @@
 DIST hcloud-1.16.1.tar.xz 649100 BLAKE2B a019f21d8c87dd47fc3c2eb069576fd367c1dd6dac7a5909f76a9c31fe9922e93ba4e1fdde3bd86dcbdb25bb2cf84b1eaddd9c7e6b62bb08647ba9d7a804e06a SHA512 e8a4e3d9c883b009eea98443716264115d55b93b212b0a0df64316f63310210a3812b3948d16f822b6f8f32d029029da5b51be7b7561d9396f28a406061a507c
+DIST hcloud-1.16.2.tar.xz 665648 BLAKE2B 84ba32a754d079531d914894f21a46d1bb019b0ba60e54a52897a482457ebb8f1fd6bcc5f5bb6e0d7298cbe490ad10535dbf39dc638f9cc7e121515644fb3fba SHA512 77c95a891e1f83080c9228d4349bd342ce05f2b0fef5f7b811fc4f6669b50ea1899103b9d89c612645e4a42a82d3b2515a66b024e668d3f76eaf44a5237f7f05
diff --git a/app-admin/hcloud/hcloud-1.16.2.ebuild b/app-admin/hcloud/hcloud-1.16.2.ebuild
new file mode 100644 (file)
index 0000000..f5620e0
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A command-line interface for Hetzner Cloud"
+HOMEPAGE="https://github.com/hetznercloud/cli"
+SRC_URI="https://dev.gentoo.org/~ago/distfiles/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE=""
+DEPEND="dev-lang/go:="
+RESTRICT="strip"
+
+src_compile() {
+       go build -mod vendor -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/cli.Version=${PV}-gentoo" ./cmd/${PN} || die "build failed"
+}
+
+src_install() {
+       dobin ${PN}
+}