diff options
Diffstat (limited to 'dev-go/go-tools/go-tools-9999.ebuild')
-rw-r--r-- | dev-go/go-tools/go-tools-9999.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-go/go-tools/go-tools-9999.ebuild b/dev-go/go-tools/go-tools-9999.ebuild index 10b4b86e3238..fb8bd018f99d 100644 --- a/dev-go/go-tools/go-tools-9999.ebuild +++ b/dev-go/go-tools/go-tools-9999.ebuild @@ -22,9 +22,11 @@ inherit golang-build DESCRIPTION="Go Tools" HOMEPAGE="https://godoc.org/golang.org/x/tools" +GO_FAVICON="go-favicon-20181103162401.ico" SRC_URI="${ARCHIVE_URI} https://github.com/golang/net/archive/${GO_NET_COMMIT}.tar.gz -> github.com-golang-net-${GO_NET_COMMIT}.tar.gz - http://golang.org/favicon.ico -> go-favicon.ico" + mirror://gentoo/${GO_FAVICON} + https://dev.gentoo.org/~zmedico/distfiles/${GO_FAVICON}" LICENSE="BSD" SLOT="0/${PVR}" @@ -38,7 +40,7 @@ src_unpack() { src_prepare() { default # Add favicon to the godoc web interface (bug 551030) - cp "${DISTDIR}"/go-favicon.ico "src/${EGO_SRC}/godoc/static/favicon.ico" || + cp "${DISTDIR}"/${GO_FAVICON} "src/${EGO_SRC}/godoc/static/favicon.ico" || die sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \ -i src/${EGO_SRC}/godoc/static/gen.go || die |