www-apps/hugo-bin - 0.170.1 (arrans-overlay)

Search

Install

Install this version:

emerge -a =www-apps/hugo-bin-0.170.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =www-apps/hugo-bin-0.170.1

Or alternatively:

emerge --autounmask-write -a =www-apps/hugo-bin-0.170.1

Package Information

Description:
The world’s fastest framework for building websites.
Homepage:
https://gohugo.io
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.170.1 8 ~amd64 ~arm ~arm64 0
View Raw Ebuild
# SPDX-License-Identifier: MIT
# Generated via:
#   repository: https://github.com/arran4/arrans_overlay
#   commit: e4ec0a914df2a76eb51e623afc9065916fb30cdb
#   workflow: .github/workflows/www-apps-hugo-bin-update.yaml
EAPI=8
DESCRIPTION=""
DESCRIPTION+="The world’s fastest framework for building websites."
HOMEPAGE=""
HOMEPAGE+="https://gohugo.io"
SRC_URI=""
SRC_URI+=" amd64? ( !extended? (   "
SRC_URI+="https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_0.170.1_linux-amd64.tar.gz "
SRC_URI+=" -> ${P}-hugo_${PV}_linux-amd64.tar.gz  )  )   amd64? ( extended? (  "
SRC_URI+=" "
SRC_URI+="https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_extended_0.170.1_Linux-64bit.tar.gz "
SRC_URI+=" -> ${P}-hugo_extended_${PV}_Linux-64bit.tar.gz  )  )   arm? (   "
SRC_URI+="https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_0.170.1_linux-arm.tar.gz "
SRC_URI+=" -> ${P}-hugo_${PV}_linux-arm.tar.gz  )   arm64? ( !extended? (   "
SRC_URI+="https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_0.170.1_linux-arm64.tar.gz "
SRC_URI+=" -> ${P}-hugo_${PV}_linux-arm64.tar.gz  )  )   arm64? ( extended? (  "
SRC_URI+=" "
SRC_URI+="https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_extended_0.170.1_linux-arm64.tar.gz "
SRC_URI+=" -> ${P}-hugo_extended_${PV}_linux-arm64.tar.gz  )  )  "
LICENSE=""
LICENSE+="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64"
IUSE=""
IUSE+=" extended"

REQUIRED_USE=""
REQUIRED_USE+="extended? ( || ( amd64 arm64  ) ) "

RDEPEND=""
RDEPEND+="extended? ( sys-devel/gcc  ) "

S="${WORKDIR}"

src_unpack() {
	if use amd64 && ! use extended ; then
		unpack "${DISTDIR}/${P}-hugo_${PV}_linux-amd64.tar.gz" \
			|| die "Failed to unpack archive file"
	fi
	if use amd64 && use extended; then
		unpack "${DISTDIR}/${P}-hugo_extended_${PV}_Linux-64bit.tar.gz" \
			|| die "Failed to unpack archive file"
	fi
	if use arm; then
		unpack "${DISTDIR}/${P}-hugo_${PV}_linux-arm.tar.gz" \
			|| die "Failed to unpack archive file"
	fi
	if use arm64 && ! use extended ; then
		unpack "${DISTDIR}/${P}-hugo_${PV}_linux-arm64.tar.gz" \
			|| die "Failed to unpack archive file"
	fi
	if use arm64 && use extended; then
		unpack "${DISTDIR}/${P}-hugo_extended_${PV}_linux-arm64.tar.gz" \
			|| die "Failed to unpack archive file"
	fi
}

src_install() {
	exeinto /opt/bin
	if use amd64 && ! use extended ; then
		newexe \
			"hugo" \
			"hugo" \
			|| die "Failed to install Binary"
	fi
	if use arm; then
		newexe \
			"hugo" \
			"hugo" \
			|| die "Failed to install Binary"
	fi
	if use arm64 && ! use extended ; then
		newexe \
			"hugo" \
			"hugo" \
			|| die "Failed to install Binary"
	fi
	if use amd64 && use extended; then
		newexe \
			"hugo" \
			"hugo" \
			|| die "Failed to install Binary"
	fi
	if use arm64 && use extended; then
		newexe \
			"hugo" \
			"hugo" \
			|| die "Failed to install Binary"
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p www-apps/hugo-bin | euse -E <flag> -p www-apps/hugo-bin | euse -D <flag> -p www-apps/hugo-bin

Global/Standard Flags

Dependencies

RDEPEND

extended? ( sys-devel/gcc  ) 

Manifest for 0.170.1

Type File Size Source URLs
DIST hugo-bin-0.170.1-hugo_0.170.1_linux-amd64.tar.gz 21282282 bytes https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_0.170.1_linux-amd64.tar.gz
DIST hugo-bin-0.170.1-hugo_0.170.1_linux-arm.tar.gz 19836409 bytes https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_0.170.1_linux-arm.tar.gz
DIST hugo-bin-0.170.1-hugo_0.170.1_linux-arm64.tar.gz 19640494 bytes https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_0.170.1_linux-arm64.tar.gz
DIST hugo-bin-0.170.1-hugo_extended_0.170.1_Linux-64bit.tar.gz 21282282 bytes https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_extended_0.170.1_Linux-64bit.tar.gz
DIST hugo-bin-0.170.1-hugo_extended_0.170.1_linux-arm64.tar.gz 19640494 bytes https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_extended_0.170.1_linux-arm64.tar.gz