Add www-apps/yuki
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
32
www-apps/yuki/yuki-2026.02.26.ebuild
Normal file
32
www-apps/yuki/yuki-2026.02.26.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="A client for WriteFreely written from scratch"
|
||||
HOMEPAGE="https://git.laidback.moe/shinyoukai/yuki"
|
||||
SRC_URI="
|
||||
https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz
|
||||
https://mirror.chaotic.ninja/software/${PN}/${P}-deps.tar.gz
|
||||
"
|
||||
|
||||
BDEPEND="app-text/mandoc"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
src_compile() {
|
||||
einfo "Building program..."
|
||||
ego build -buildmode=exe -buildvcs=false -v -x -o ${P}
|
||||
einfo "Building manual page(s)..."
|
||||
cp ${P}.1 ${P}.mdoc
|
||||
mandoc -T man < ${P}.mdoc > ${P}.1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${P}
|
||||
doman ${P}.1
|
||||
}
|
||||
Reference in New Issue
Block a user