dev-util/haredo - 9999 (guru)

Search

Install

Install this version:

emerge -a =dev-util/haredo-9999

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

autounmask =dev-util/haredo-9999

Or alternatively:

emerge --autounmask-write -a =dev-util/haredo-9999

Package Information

Description:
a simple and unix-idiomatic build automator
Homepage:
https://git.sr.ht/~autumnull/haredo
License:
WTFPL-2

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 ~arm64 ~riscv 0/9999
View Raw Ebuild
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

if [[ "${PV}" = "9999" ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://git.sr.ht/~autumnull/haredo"
	SLOT="0"
else
	SRC_URI="https://git.sr.ht/~autumnull/haredo/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~arm64 ~riscv"
	SLOT="0/${PV}"
fi

DESCRIPTION="a simple and unix-idiomatic build automator"
HOMEPAGE="https://git.sr.ht/~autumnull/haredo"
LICENSE="WTFPL-2"

DEPEND="dev-lang/hare:="
BDEPEND="app-text/scdoc"

# binaries are hare-built
QA_FLAGS_IGNORED="usr/bin/.*"

src_test() {
	PATH="${S}/bin:$PATH" ./bin/haredo test || die
}

src_install() {
	einstalldocs
	# I wish install(1) would support DESTDIR…
	emake PREFIX="${ED}/usr" install
}

Inherited Eclasses

Dependencies

DEPEND

dev-lang/hare:=

BDEPEND

app-text/scdoc