Skip to content

Commit

Permalink
app-admin/hcloud: first commit
Browse files Browse the repository at this point in the history
Signed-off-by: Agostino Sarubbo <[email protected]>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
  • Loading branch information
asarubbo committed Apr 26, 2019
1 parent 363cdbf commit 35618de
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-admin/hcloud/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST hcloud-1.12.0.tar.xz 436652 BLAKE2B 93cca131fbf590cf011c61091ff1481c45c6f3f23b1de98d1866533e6123b4c88dff249095284d399b15b01864980e659d74945d13501bcb93f6cbe0659b98a4 SHA512 a76e2f8575a350413fbc72ef6e27a19f3e9f36e356e59fb8857751438a9b3d429e41dc0645f59fe147d0b23b206dccb1fd65777ce3bb7f05bb63d30e224eb929
24 changes: 24 additions & 0 deletions app-admin/hcloud/hcloud-1.12.0.ebuild
Original file line number Diff line number Diff line change
@@ -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}
}
8 changes: 8 additions & 0 deletions app-admin/hcloud/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Agostino Sarubbo</name>
</maintainer>
</pkgmetadata>

0 comments on commit 35618de

Please sign in to comment.