diff options
-rw-r--r-- | app-admin/hcloud/Manifest | 1 | ||||
-rw-r--r-- | app-admin/hcloud/hcloud-1.14.0.ebuild | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index 3b2ffcd95b38..793669fb32a7 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1,2 +1,3 @@ DIST hcloud-1.12.0.tar.xz 436432 BLAKE2B b1263bfa89cb52d197d51c181b1166db84ae10613e448aea16b7b8a5399214a82025f3282d39ac359712b3ddac2decaeda148d9b392fdcb1f5d4d7dc6aa6a598 SHA512 f557ba4515ed158e9c153db4c6de97fba17123c7128b6fcc2bb58472a54f32e342df44f634c42af06a3160b45af4f1f9c28df001a0922bfdca10ade3b1640368 DIST hcloud-1.13.0.tar.xz 442896 BLAKE2B 8bf43da9a4db336a1a313cc6a3b10897c18af57a36d9d02cc35e0edd22e0d1f711963056edf8e5b2eb2ee32e4c5d7e3f9685963b0d438e61d338ab27a1641b27 SHA512 1352e688c2c96995539a8f2a30b4893d6ccc3e8f092ff94ceca086ff67f2e6bb26ed3bdf6fa3bb3c9d02d93264f48ff0fac2bfff649ddcc0bc94143fea5c4da6 +DIST hcloud-1.14.0.tar.xz 643088 BLAKE2B e360b06796e718df31b1640d78153a843a17a8d70a27a1771fc264b01b5649aa7b6344feba1d2856348070a74df6731d462f178cb23fdd1ada051c5695e237f2 SHA512 1fc9a776d89ee8c4f00ad71994a55151f1758ddff1083b0bdd24e569200ec996b4502ae7f8ba0fe9700a35c082385fafc817abe04aa0a7e9980b225b92ab8c6b diff --git a/app-admin/hcloud/hcloud-1.14.0.ebuild b/app-admin/hcloud/hcloud-1.14.0.ebuild new file mode 100644 index 000000000000..4367320daaac --- /dev/null +++ b/app-admin/hcloud/hcloud-1.14.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 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} +} |