summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2019-04-26 10:29:51 +0200
committerAgostino Sarubbo <ago@gentoo.org>2019-04-26 10:29:51 +0200
commit35618dea47332897486db787b30d19e3980293d9 (patch)
treee98d8c34009a09be7885544a7d33a2e7417a8705
parentdev-db/mysql-workbench: add 8.0.16 (diff)
downloadgentoo-35618dea47332897486db787b30d19e3980293d9.tar.gz
gentoo-35618dea47332897486db787b30d19e3980293d9.tar.bz2
gentoo-35618dea47332897486db787b30d19e3980293d9.zip
app-admin/hcloud: first commit
Signed-off-by: Agostino Sarubbo <ago@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
-rw-r--r--app-admin/hcloud/Manifest1
-rw-r--r--app-admin/hcloud/hcloud-1.12.0.ebuild24
-rw-r--r--app-admin/hcloud/metadata.xml8
3 files changed, 33 insertions, 0 deletions
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest
new file mode 100644
index 00000000000..f41a001816a
--- /dev/null
+++ b/app-admin/hcloud/Manifest
@@ -0,0 +1 @@
+DIST hcloud-1.12.0.tar.xz 436652 BLAKE2B 93cca131fbf590cf011c61091ff1481c45c6f3f23b1de98d1866533e6123b4c88dff249095284d399b15b01864980e659d74945d13501bcb93f6cbe0659b98a4 SHA512 a76e2f8575a350413fbc72ef6e27a19f3e9f36e356e59fb8857751438a9b3d429e41dc0645f59fe147d0b23b206dccb1fd65777ce3bb7f05bb63d30e224eb929
diff --git a/app-admin/hcloud/hcloud-1.12.0.ebuild b/app-admin/hcloud/hcloud-1.12.0.ebuild
new file mode 100644
index 00000000000..f19f65fda3f
--- /dev/null
+++ b/app-admin/hcloud/hcloud-1.12.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} ./cmd/${PN} || die "build failed"
+}
+
+src_install() {
+ dobin ${PN}
+}
diff --git a/app-admin/hcloud/metadata.xml b/app-admin/hcloud/metadata.xml
new file mode 100644
index 00000000000..4eceb317f22
--- /dev/null
+++ b/app-admin/hcloud/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ago@gentoo.org</email>
+ <name>Agostino Sarubbo</name>
+ </maintainer>
+</pkgmetadata>