diff options
| author | 2026-10-19 03:06:47 +0200 | |
|---|---|---|
| committer | 2026-10-19 03:06:47 +0200 | |
| commit | ab5cd4683df0772531f59f835629f4de3cfe2e36 (patch) | |
| tree | 4fccccb93e63140d67181d238cf23bfdf59abc8f /www-servers/cgit-httpd/cgit-httpd-0.6.1.ebuild | |
| parent | dev-go/staticcheck: add 2026.2.2, drop 2026.2.1 (diff) | |
| download | ebuilds-ab5cd4683df0772531f59f835629f4de3cfe2e36.tar.xz | |
Diffstat (limited to 'www-servers/cgit-httpd/cgit-httpd-0.6.1.ebuild')
| -rw-r--r-- | www-servers/cgit-httpd/cgit-httpd-0.6.1.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/www-servers/cgit-httpd/cgit-httpd-0.6.1.ebuild b/www-servers/cgit-httpd/cgit-httpd-0.6.1.ebuild new file mode 100644 index 0000000..7e83cca --- /dev/null +++ b/www-servers/cgit-httpd/cgit-httpd-0.6.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2020-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="HTTPD for CGit" +HOMEPAGE="https://git.terinstock.com/cgit-httpd.git/about/" +BDEPEND=">=dev-lang/go-1.27.0" +SRC_URI="https://git.terinstock.com/cgit-httpd.git/snapshot/${P}.tar.xz" +SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz" + +LICENSE="EUPL-1.2" +LICENSE+=" CC0-1.0 " +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + ego build . +} + +src_test() { + ego test ./... +} + +src_install() { + dobin cgit-httpd +} |
