diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-25 00:12:20 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-25 00:12:20 +0100 |
commit | 996a2bda06cb164877d5d952774a6db1b271c2f3 (patch) | |
tree | 31930352b48fc7622d658ae37658c57ad9511ef6 /app-admin/hcloud | |
parent | 67e5603b2844a6657dd0438fa26626b013e5567f (diff) |
gentoo auto-resync : 25:06:2024 - 00:12:20
Diffstat (limited to 'app-admin/hcloud')
-rw-r--r-- | app-admin/hcloud/Manifest | 2 | ||||
-rw-r--r-- | app-admin/hcloud/hcloud-1.44.0.ebuild | 31 |
2 files changed, 33 insertions, 0 deletions
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index cf4b6e120ebe..44a5d50d72c2 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1,3 +1,5 @@ DIST hcloud-1.43.1.tar.xz 1889004 BLAKE2B 563cde962cf1fd180bbef60127b714419c09da198afeb4923f8fc1cd48850131b3b91de243de43e269497f36d14757a1e71941d30dfbee98baebb533f20e6cdd SHA512 c8fa46e9d3e2c73cc2d86e597bebf6e1dbf28b7145dbc272c403607807251ac27eee14b9ad267fdf2aa730da16ce52be4d2b0d94653612b4f375f1779c95d90b +DIST hcloud-1.44.0.tar.xz 2198712 BLAKE2B 120960528a1ef82993acd6ce791dd2f7a47968ab933f896e0d19df2d85b1453d3a4c7cbf6482aa0f051a6bcdd90a1ce34d7ff22ae10162c09b96b7afac9387bd SHA512 7fc6a4c531f991fc96decc79aa869bd875167a741630e86801bdc538877d372183f8ee34e2e4d683230f556573df01ab6f87f30cde6a43ffe70da1437bcfcd2d EBUILD hcloud-1.43.1.ebuild 644 BLAKE2B 30273b4b3244eca66768acebc13756f702912728e8e42aaa66b17ae72956d79e99e80b3a2a0bf667589b931eaef0b53178ac1384499df33485ce2c039f6bb89d SHA512 f2b86d28d88c28ea3eda268c1ec8f6fb0ec356af0693278e8fdda80f5929b3f3fd745837d7b3f78853ba7e36644f7fb66cca60699ba3fabfdafe58560923b778 +EBUILD hcloud-1.44.0.ebuild 645 BLAKE2B 479b4959afc11357387cc1cec715f31e8b63f2d66e9fade3e0916e9133c41e9726c345615828b4b547a2512892f3ec54c615e0ed1b64c69dee0f95b33fe680c2 SHA512 91df85323ebcef2444b5e983b584dfa5d039e3e87d7bafe90f40f1376918dfd780a6d8afe639ac517d8f149cc398abf7072dfd0f3436b72474949f9ccc4232bc MISC metadata.xml 338 BLAKE2B 6ba2cbe509581ac35dabd93abe166f960d69d1f14336779848483386d28e22dd06e5d196061312827b7a945369f05a466417a1636b607e138515957a75db6f84 SHA512 cc69ce0ab7ba3a9af94ef1918738074cdd725bef2ff70d6c19e46d07bb9514d05ef6415c7ba5b372e7a98902a8440cdb9f7b14a848c3ff2f054863356971ddde diff --git a/app-admin/hcloud/hcloud-1.44.0.ebuild b/app-admin/hcloud/hcloud-1.44.0.ebuild new file mode 100644 index 000000000000..c4449b25b091 --- /dev/null +++ b/app-admin/hcloud/hcloud-1.44.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +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" + +src_compile() { + ego build -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/internal/version.versionPrerelease=gentoo" ./cmd/${PN} +} + +src_test() { + # For upstream a simple test is run 'hcloud version' + ./hcloud version + if [[ $? -ne 0 ]] + then + die "Test failed" + fi +} + +src_install() { + dobin ${PN} +} |