summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2020-02-07 13:04:05 +0100
committerAgostino Sarubbo <ago@gentoo.org>2020-02-07 13:04:05 +0100
commite8b960e39215a0f3f2324de9676e3c98f6e56a89 (patch)
tree0c35419b2d6eefc3542235d73b2499f373b58420 /app-admin
parentapp-antivirus/clamtk: Switch to PYTHON_SINGLE_USEDEP (diff)
downloadgentoo-e8b960e39215a0f3f2324de9676e3c98f6e56a89.tar.gz
gentoo-e8b960e39215a0f3f2324de9676e3c98f6e56a89.tar.bz2
gentoo-e8b960e39215a0f3f2324de9676e3c98f6e56a89.zip
app-admin/hcloud: version bump to 1.15.0
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/hcloud/Manifest1
-rw-r--r--app-admin/hcloud/hcloud-1.15.0.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest
index 9cd155227e11..d9ddab4d3476 100644
--- a/app-admin/hcloud/Manifest
+++ b/app-admin/hcloud/Manifest
@@ -1 +1,2 @@
DIST hcloud-1.14.0.tar.xz 643088 BLAKE2B e360b06796e718df31b1640d78153a843a17a8d70a27a1771fc264b01b5649aa7b6344feba1d2856348070a74df6731d462f178cb23fdd1ada051c5695e237f2 SHA512 1fc9a776d89ee8c4f00ad71994a55151f1758ddff1083b0bdd24e569200ec996b4502ae7f8ba0fe9700a35c082385fafc817abe04aa0a7e9980b225b92ab8c6b
+DIST hcloud-1.15.0.tar.xz 647676 BLAKE2B 23a77fb74eabb1d8f21d84ac79768bedb7fc1f6bd24785eae041440b1de73de0e3815983ebb505b5b4e200238f02cf9bd443cea5f719bf441b14ea3c83c4792a SHA512 5683d5972fa6469833c86c58236e67002ba1a95c0b6e67051d7de9e8fb958cbdb37e0ffa20b2a9e6688fadcc2adbf59ea0258203e1e9156fa88fe8c7a0ad1636
diff --git a/app-admin/hcloud/hcloud-1.15.0.ebuild b/app-admin/hcloud/hcloud-1.15.0.ebuild
new file mode 100644
index 000000000000..f5620e0f972f
--- /dev/null
+++ b/app-admin/hcloud/hcloud-1.15.0.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}
+}