app-text/header-bin - 0.0.6 (arrans-overlay)

Search

Install

Install this version:

emerge -a =app-text/header-bin-0.0.6

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

autounmask =app-text/header-bin-0.0.6

Or alternatively:

emerge --autounmask-write -a =app-text/header-bin-0.0.6

Package Information

Description:
Go CLI and library for extracting, validating, editing and visualizing website metadata
Homepage:
https://github.com/arran4/header
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.0.6 8 ~amd64 ~arm64 ~x86 0
View Raw Ebuild
# SPDX-License-Identifier: MIT
# Generated via:
#   repository: https://github.com/arran4/arrans_overlay
#   commit: 7f635259d799f95952701b8891ef81040983d1e0
#   workflow: .github/workflows/app-text-header-bin-update.yaml
EAPI=8
DESCRIPTION=""
DESCRIPTION+="Go CLI and library for extracting, validating, editing and "
DESCRIPTION+="visualizing website metadata"
HOMEPAGE=""
HOMEPAGE+="https://github.com/arran4/header"
SRC_URI=""
SRC_URI+=" amd64? (   "
SRC_URI+="https://github.com/arran4/header/releases/download/v0.0.6/header_0.0.6_linux_amd64.tar.gz "
SRC_URI+=" -> ${P}-header_${PV}_linux_amd64.tar.gz  )   arm64? (   "
SRC_URI+="https://github.com/arran4/header/releases/download/v0.0.6/header_0.0.6_linux_arm64.tar.gz "
SRC_URI+=" -> ${P}-header_${PV}_linux_arm64.tar.gz  )   x86? (   "
SRC_URI+="https://github.com/arran4/header/releases/download/v0.0.6/header_0.0.6_linux_386.tar.gz "
SRC_URI+=" -> ${P}-header_${PV}_linux_386.tar.gz  )  "
LICENSE=""
LICENSE+="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE=""
IUSE+=" doc"

REQUIRED_USE=""

RDEPEND=""

S="${WORKDIR}"

src_unpack() {
	if use amd64; then
		unpack "${DISTDIR}/${P}-header_${PV}_linux_amd64.tar.gz" \
			|| die "Failed to unpack archive file"
	fi
	if use arm64; then
		unpack "${DISTDIR}/${P}-header_${PV}_linux_arm64.tar.gz" \
			|| die "Failed to unpack archive file"
	fi
	if use x86; then
		unpack "${DISTDIR}/${P}-header_${PV}_linux_386.tar.gz" \
			|| die "Failed to unpack archive file"
	fi
}

src_install() {
	exeinto /opt/bin
	if use amd64; then
		newexe \
			"header" \
			"header" \
			|| die "Failed to install Binary"
	fi
	if use arm64; then
		newexe \
			"header" \
			"header" \
			|| die "Failed to install Binary"
	fi
	if use x86; then
		newexe \
			"header" \
			"header" \
			|| die "Failed to install Binary"
	fi
	if use doc; then
		dodoc "LICENSE" || die "Failed to install document LICENSE"
		dodoc "README.md" || die "Failed to install document README.md"
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-text/header-bin | euse -E <flag> -p app-text/header-bin | euse -D <flag> -p app-text/header-bin

Global/Standard Flags

doc

Manifest for 0.0.6

Type File Size Source URLs
DIST header-bin-0.0.6-header_0.0.6_linux_386.tar.gz 4191056 bytes https://github.com/arran4/header/releases/download/v0.0.6/header_0.0.6_linux_386.tar.gz
DIST header-bin-0.0.6-header_0.0.6_linux_amd64.tar.gz 4350137 bytes https://github.com/arran4/header/releases/download/v0.0.6/header_0.0.6_linux_amd64.tar.gz
DIST header-bin-0.0.6-header_0.0.6_linux_arm64.tar.gz 3942859 bytes https://github.com/arran4/header/releases/download/v0.0.6/header_0.0.6_linux_arm64.tar.gz