summaryrefslogtreecommitdiff
path: root/app-portage/golop/golop-0.2.1-r1.ebuild
blob: ce8d84d8a0502d9f1885898dd340fe74503a06d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="A pure Go re-implementation of genlop"
HOMEPAGE="https://github.com/klausman/golop"
SRC_URI="https://github.com/klausman/golop/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~riscv ~x86"

src_compile() {
	ego build -v -o ${PN}
}

src_install() {
	dobin ${PN}

	local DOCS=( README.md )
	einstalldocs
}