Add www-apps/gostatic
Signed-off-by: Shin'ya Minazuki <shinyoukai@chaotic.ninja>
This commit is contained in:
parent
48aad7c3af
commit
8206bcca07
3 changed files with 51 additions and 0 deletions
22
www-apps/gostatic/gostatic-2.36.ebuild
Normal file
22
www-apps/gostatic/gostatic-2.36.ebuild
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit git-r3 go-module
|
||||
|
||||
DESCRIPTION="Make-inspired static site generator"
|
||||
HOMEPAGE="https://github.com/piranha/gostatic"
|
||||
EGIT_REPO_URI="https://github.com/piranha/gostatic"
|
||||
EGIT_COMMIT="9df7b25f63f64029dce2d791372fb55a65aedde4"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_compile() {
|
||||
export CGO_ENABLED="0"
|
||||
ego build -ldflags "-s -w" -o "${PN}"
|
||||
}
|
||||
src_install() {
|
||||
dobin "${PN}"
|
||||
dodoc "README.md"
|
||||
}
|
||||
21
www-apps/gostatic/gostatic-9999.ebuild
Normal file
21
www-apps/gostatic/gostatic-9999.ebuild
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit git-r3 go-module
|
||||
|
||||
DESCRIPTION="Make-inspired static site generator"
|
||||
HOMEPAGE="https://github.com/piranha/gostatic"
|
||||
EGIT_REPO_URI="https://github.com/piranha/gostatic"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_compile() {
|
||||
export CGO_ENABLED="0"
|
||||
ego build -ldflags "-s -w" -o "${PN}"
|
||||
}
|
||||
src_install() {
|
||||
dobin "${PN}"
|
||||
dodoc "README.md"
|
||||
}
|
||||
8
www-apps/gostatic/metadata.xml
Normal file
8
www-apps/gostatic/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>shinyoukai@chaotic.ninja</email>
|
||||
<name>Shin'ya Minazuki</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Loading…
Add table
Add a link
Reference in a new issue