mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-22 15:09:04 +02:00
Signed-off-by: Alfred Persson Forsberg <cat@catcream.org> Part-of: https://github.com/gentoo/gentoo/pull/42076 Closes: https://github.com/gentoo/gentoo/pull/42076 Signed-off-by: Sam James <sam@gentoo.org>
35 lines
738 B
Bash
35 lines
738 B
Bash
# Copyright 2023-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit go-module
|
|
|
|
DESCRIPTION="Modern terminal IRC client. NOTICE me :senpai!"
|
|
HOMEPAGE="https://sr.ht/~delthas/senpai/"
|
|
SRC_URI="https://git.sr.ht/~delthas/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
SRC_URI+=" https://github.com/alfredfo/${PN}-deps/raw/master/${P}-deps.tar.xz"
|
|
|
|
S="${WORKDIR}/${PN}-v${PV}"
|
|
|
|
LICENSE="Apache-2.0 BSD BSD-2 ISC MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
BDEPEND="
|
|
app-text/scdoc
|
|
"
|
|
|
|
src_compile() {
|
|
ego build ${GOFLAGS} ./cmd/senpai
|
|
|
|
scdoc <doc/senpai.1.scd >doc/senpai.1 || die
|
|
scdoc <doc/senpai.5.scd >doc/senpai.5 || die
|
|
}
|
|
|
|
src_install() {
|
|
dobin senpai
|
|
|
|
doman doc/senpai.{1,5}
|
|
einstalldocs
|
|
}
|