summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2020-03-04 11:28:25 +0100
committerAgostino Sarubbo <ago@gentoo.org>2020-03-04 11:28:31 +0100
commit712f589b62e622544c4f97fbd8a0ebb3985a737c (patch)
treecc8d36e519af2767aec737934f5e131aadc6052e /app-admin/hcloud
parentsys-apps/portage: Bump to version 2.3.92 (diff)
downloadgentoo-712f589b62e622544c4f97fbd8a0ebb3985a737c.tar.gz
gentoo-712f589b62e622544c4f97fbd8a0ebb3985a737c.tar.bz2
gentoo-712f589b62e622544c4f97fbd8a0ebb3985a737c.zip
app-admin/hcloud: version bump to 1.16.1
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Diffstat (limited to 'app-admin/hcloud')
-rw-r--r--app-admin/hcloud/Manifest1
-rw-r--r--app-admin/hcloud/hcloud-1.16.1.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest
index df0b4a41173c..0836cf0c44db 100644
--- a/app-admin/hcloud/Manifest
+++ b/app-admin/hcloud/Manifest
@@ -1,3 +1,4 @@
DIST hcloud-1.14.0.tar.xz 643088 BLAKE2B e360b06796e718df31b1640d78153a843a17a8d70a27a1771fc264b01b5649aa7b6344feba1d2856348070a74df6731d462f178cb23fdd1ada051c5695e237f2 SHA512 1fc9a776d89ee8c4f00ad71994a55151f1758ddff1083b0bdd24e569200ec996b4502ae7f8ba0fe9700a35c082385fafc817abe04aa0a7e9980b225b92ab8c6b
DIST hcloud-1.15.0.tar.xz 647676 BLAKE2B 23a77fb74eabb1d8f21d84ac79768bedb7fc1f6bd24785eae041440b1de73de0e3815983ebb505b5b4e200238f02cf9bd443cea5f719bf441b14ea3c83c4792a SHA512 5683d5972fa6469833c86c58236e67002ba1a95c0b6e67051d7de9e8fb958cbdb37e0ffa20b2a9e6688fadcc2adbf59ea0258203e1e9156fa88fe8c7a0ad1636
DIST hcloud-1.16.0.tar.xz 648732 BLAKE2B e477a7c60b0d9d18b644e1eb81e42002d82dde23c09c88d0d8d5ae21b835e279c4152b46742cfe5e53d2f12ee68582eb8da303a09d3204c2643d942ca41da2b0 SHA512 4d50184e9bc26dfd4d02f08fa7089b9d0e297502d22ca08d301676d8cd05298097dc72fc8e61033ba83e1eac4ea8bf7e1a6340463512643b76ad5eb7d5c7da02
+DIST hcloud-1.16.1.tar.xz 649100 BLAKE2B a019f21d8c87dd47fc3c2eb069576fd367c1dd6dac7a5909f76a9c31fe9922e93ba4e1fdde3bd86dcbdb25bb2cf84b1eaddd9c7e6b62bb08647ba9d7a804e06a SHA512 e8a4e3d9c883b009eea98443716264115d55b93b212b0a0df64316f63310210a3812b3948d16f822b6f8f32d029029da5b51be7b7561d9396f28a406061a507c
diff --git a/app-admin/hcloud/hcloud-1.16.1.ebuild b/app-admin/hcloud/hcloud-1.16.1.ebuild
new file mode 100644
index 000000000000..f5620e0f972f
--- /dev/null
+++ b/app-admin/hcloud/hcloud-1.16.1.ebuild
@@ -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}
+}