33 lines
637 B
Bash
33 lines
637 B
Bash
# 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
|
|
}
|