www-misc/yomi: なるほど
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
parent
ac289aafcc
commit
0114c96c76
2 changed files with 29 additions and 1 deletions
28
www-misc/yomi/yomi-20260120.ebuild
Normal file
28
www-misc/yomi/yomi-20260120.ebuild
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
# 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"
|
||||||
|
EGIT_COMMIT="b81042aff07da0e0209a41695b122c89dcc6f453"
|
||||||
|
|
||||||
|
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}
|
||||||
|
}
|
||||||
|
|
@ -9,7 +9,7 @@ EGIT_REPO_URI="https://git.laidback.moe/shinyoukai/yomi"
|
||||||
|
|
||||||
LICENSE="ISC"
|
LICENSE="ISC"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="-* amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 x86"
|
KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86"
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
git-r3_src_unpack
|
git-r3_src_unpack
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue