mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
app-office/invoice: new package, add 0.1.0
Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
35
app-office/invoice/invoice-0.1.0.ebuild
Normal file
35
app-office/invoice/invoice-0.1.0.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# 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}/uploads/c7abf25c03f3397186c9deff055a9e89/${P}-deps.tar.xz"
|
||||
SRC_URI+=" ${DEPS_URI}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
dev-lang/go
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
ego build .
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc "README.md"
|
||||
default
|
||||
}
|
||||
Reference in New Issue
Block a user