summaryrefslogtreecommitdiff
path: root/www-servers/cgit-httpd/cgit-httpd-0.6.1.ebuild
diff options
context:
space:
mode:
authorLibravatar Terin Stock <terinjokes@gmail.com>2026-10-19 03:06:47 +0200
committerLibravatar Terin Stock <terinjokes@gmail.com>2026-10-19 03:06:47 +0200
commitab5cd4683df0772531f59f835629f4de3cfe2e36 (patch)
tree4fccccb93e63140d67181d238cf23bfdf59abc8f /www-servers/cgit-httpd/cgit-httpd-0.6.1.ebuild
parentdev-go/staticcheck: add 2026.2.2, drop 2026.2.1 (diff)
downloadebuilds-ab5cd4683df0772531f59f835629f4de3cfe2e36.tar.xz
www-servers/cgit-httpd: add 0.6.1, drop 0.6.0HEADtrunk
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.ebuild28
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
+}