Install this version:
emerge -a =app-office/invoice-0.1.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-office/invoice-0.1.0
Or alternatively:
emerge --autounmask-write -a =app-office/invoice-0.1.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.1.0 | 8 | ~amd64 | 0 |
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Generate invoices from the command line"
HOMEPAGE="https://github.com/maaslalani/invoice"
SRC_URI="https://github.com/maaslalani/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
# Using a dependency tarball as per https://devmanual.gentoo.org/eclass-reference/go-module.eclass/index.html
DEPS_URI="https://gitlab.com/freijon_gentoo/${CATEGORY}/${PN}/-/raw/main/${P}-deps.tar.xz"
SRC_URI+=" ${DEPS_URI}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="${DEPEND}"
BDEPEND="
dev-lang/go
"
src_compile() {
ego build .
}
src_install() {
dobin ${PN}
dodoc "README.md"
default
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | invoice-0.1.0-deps.tar.xz | 21517072 bytes | https://gitlab.com/freijon_gentoo//invoice/-/raw/main/invoice-0.1.0-deps.tar.xz |
| DIST | invoice-0.1.0.tar.gz | 22300950 bytes | https://github.com/maaslalani/invoice/archive/refs/tags/v0.1.0.tar.gz |