diff options
-rw-r--r-- | app-admin/exo/Manifest | 1 | ||||
-rw-r--r-- | app-admin/exo/exo-1.3.0.ebuild | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/app-admin/exo/Manifest b/app-admin/exo/Manifest index ff229decde48..b0fef2cc48ce 100644 --- a/app-admin/exo/Manifest +++ b/app-admin/exo/Manifest @@ -1 +1,2 @@ DIST exo-1.2.0.tar.gz 3281293 BLAKE2B 15875c98b8470a003a6c187830b470ed739c02877e29197a296878db25ab567014bcdcc615c7d2ca5cb3c77fc85833261ef68774af69db58458566d6727f886d SHA512 308893b339a3749f523d7f2e33942050ef93958b97b3f652b7af49a4aa6d3b3faede4091aeafe1fb21da082f01d829da2c7fd1881fa14c1f7695854df80ab451 +DIST exo-1.3.0.tar.gz 3282243 BLAKE2B 3310ff4abc6f416033f51892742714097af2c7d668e1214897d107a9c1adf8bc06530a54e92ebb4bf1ca0a3d9ed9022a49ea4f316ce26a48d70f8ffac707e1f4 SHA512 3225ad4a6636ddf0cf193de6fb493d222c28a59f4467836d02112ea4934c15a41e6bc661982085a8541f9c090c5f112a979222fc6ff6955336bfd07ae7077ec4 diff --git a/app-admin/exo/exo-1.3.0.ebuild b/app-admin/exo/exo-1.3.0.ebuild new file mode 100644 index 000000000000..ebb329b957ff --- /dev/null +++ b/app-admin/exo/exo-1.3.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Command-line tool for everything at Exoscale: compute, storage, dns." +HOMEPAGE="https://exoscale.github.io/cli" +SRC_URI="https://github.com/exoscale/cli/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" +DEPEND="dev-lang/go:=" +RESTRICT="strip" + +S="${WORKDIR}/cli-${PV}" + +src_compile() { + go build -mod vendor -o ${PN} || die "build failed" +} + +src_install() { + dobin ${PN} +} |