diff options
author | William Hubbs <williamh@gentoo.org> | 2016-04-09 12:42:59 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2016-04-09 12:43:10 -0500 |
commit | 1518102d4271bcae6a575835aecca7a184a1eaa9 (patch) | |
tree | 35ae38a8b64886320df1b269393345abc5859d06 | |
parent | dev-lang/go: add support for bootstrapping with gccgo (diff) | |
download | gentoo-1518102d4271bcae6a575835aecca7a184a1eaa9.tar.gz gentoo-1518102d4271bcae6a575835aecca7a184a1eaa9.tar.bz2 gentoo-1518102d4271bcae6a575835aecca7a184a1eaa9.zip |
app-admin/cli53: Use upstream Makefile
This was approved by the maintainer.
Package-Manager: portage-2.2.26
-rw-r--r-- | app-admin/cli53/cli53-0.7.2.ebuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app-admin/cli53/cli53-0.7.2.ebuild b/app-admin/cli53/cli53-0.7.2.ebuild index baed22a68251..5bc5070927be 100644 --- a/app-admin/cli53/cli53-0.7.2.ebuild +++ b/app-admin/cli53/cli53-0.7.2.ebuild @@ -4,7 +4,8 @@ EAPI=6 -inherit golang-build golang-vcs-snapshot +EGO_PN=github.com/barnybug/cli53 +inherit golang-vcs-snapshot DESCRIPTION="Command line tool for Amazon Route 53" HOMEPAGE="https://github.com/barnybug/cli53" @@ -14,15 +15,14 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -src_unpack() { - EGO_PN="github.com/barnybug/cli53" golang-vcs-snapshot_src_unpack -} - src_compile() { - EGO_PN="github.com/barnybug/cli53/cmd/cli53" golang-build_src_compile + cd src/${EGO_PN} + version_arg="version=${PV}" + GOPATH="${WORKDIR}/${P}" emake ${version_arg} build } src_install() { + cd src/${EGO_PN} dobin cli53 - dodoc src/github.com/barnybug/cli53/{CHANGELOG,README}.md + dodoc {CHANGELOG,README}.md } |