28 lines
468 B
Bash
28 lines
468 B
Bash
# Copyright 2026 Shin'ya Minazuki
|
|
EAPI=8
|
|
|
|
inherit git-r3 go-module
|
|
|
|
DESCRIPTION="A staging HTTP server"
|
|
HOMEPAGE="https://git.laidback.moe/shinyoukai/yomi"
|
|
EGIT_REPO_URI="https://git.laidback.moe/shinyoukai/yomi"
|
|
|
|
LICENSE="ISC"
|
|
SLOT="0"
|
|
KEYWORDS="-* amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 x86"
|
|
|
|
src_unpack() {
|
|
git-r3_src_unpack
|
|
go-module_live_vendor
|
|
}
|
|
|
|
src_compile() {
|
|
export CGO_ENABLED=0
|
|
|
|
ego build -o bin/${PN}
|
|
}
|
|
|
|
src_install() {
|
|
dobin bin/${PN}
|
|
}
|