diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
commit | 536c3711867ec947c1738f2c4b96f22e4863322d (patch) | |
tree | 697733f5cb713908dcf378e13fd15a798a906a91 /dev-go/go-tools/go-tools-9999.ebuild | |
parent | f65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff) |
gentoo resync : 18.11.2018
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 |