diff options
Diffstat (limited to 'www-apps/hugo/hugo-0.58.3.ebuild')
-rw-r--r-- | www-apps/hugo/hugo-0.58.3.ebuild | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/www-apps/hugo/hugo-0.58.3.ebuild b/www-apps/hugo/hugo-0.58.3.ebuild deleted file mode 100644 index 80f8f7e111c2..000000000000 --- a/www-apps/hugo/hugo-0.58.3.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit go-module bash-completion-r1 - -# The fork with prefetched vendor packages using `go mod vendor` -EGO_PN="github.com/g4s8/hugo" -GIT_COMMIT="e5194ddedf51ecb3a0c63cf5f5aa82a3be21c8cf" -KEYWORDS="~amd64" - -DESCRIPTION="The world's fastest framework for building websites" -HOMEPAGE="https://gohugo.io https://github.com/gohugoio/hugo" -SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="Apache-2.0 Unlicense BSD BSD-2 MPL-2.0" -SLOT="0" -IUSE="+sass +bash-completion" - -RESTRICT="test" - -src_compile() { - mkdir -pv bin || die - go build -ldflags \ - "-X ${EGO_PN}/hugolib.CommitHash=${GIT_COMMIT}" \ - $(usex sass "-tags extended" "") -o "${S}/bin/hugo" || die - bin/hugo gen man || die - if use bash-completion ; then - bin/hugo gen autocomplete --completionfile hugo || die - fi -} - -src_install() { - dobin bin/* - if use bash-completion ; then - dobashcomp hugo || die - fi - doman man/* - dodoc README.md -} |