diff --git a/www-apps/gostatic/gostatic-2.36.ebuild b/www-apps/gostatic/gostatic-2.36.ebuild new file mode 100644 index 0000000..f82f3b7 --- /dev/null +++ b/www-apps/gostatic/gostatic-2.36.ebuild @@ -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" +} diff --git a/www-apps/gostatic/gostatic-9999.ebuild b/www-apps/gostatic/gostatic-9999.ebuild new file mode 100644 index 0000000..f366a6b --- /dev/null +++ b/www-apps/gostatic/gostatic-9999.ebuild @@ -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" +} diff --git a/www-apps/gostatic/metadata.xml b/www-apps/gostatic/metadata.xml new file mode 100644 index 0000000..44267db --- /dev/null +++ b/www-apps/gostatic/metadata.xml @@ -0,0 +1,8 @@ + + + + + shinyoukai@chaotic.ninja + Shin'ya Minazuki + +