diff options
author | 2024-09-11 01:46:15 +0200 | |
---|---|---|
committer | 2024-09-11 01:53:31 +0200 | |
commit | dfac6cd55a2e6b65eb928922985ca7ec3a19eaf1 (patch) | |
tree | 7e19c005374bf4fb7cee2bf987b0c025adc5df1d /www-servers | |
parent | media-fonts/departuremono: add 1.350 (diff) | |
download | ebuilds-dfac6cd55a2e6b65eb928922985ca7ec3a19eaf1.tar.xz |
www-servers/cgit-httpd: new package, add 0.5.0
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/cgit-httpd/Manifest | 2 | ||||
-rw-r--r-- | www-servers/cgit-httpd/cgit-httpd-0.5.0.ebuild | 28 |
2 files changed, 30 insertions, 0 deletions
diff --git a/www-servers/cgit-httpd/Manifest b/www-servers/cgit-httpd/Manifest new file mode 100644 index 0000000..360a765 --- /dev/null +++ b/www-servers/cgit-httpd/Manifest @@ -0,0 +1,2 @@ +DIST cgit-httpd-0.5.0-vendor.tar.xz 50692 BLAKE2B 3a3f6c025525ce824bc8c51c997ac51a8f8051f12d79c2248518a92069cf925cde184af657d9370c4c44b7b8e412c8a28c9c5ea5662b978f8c6fbbe800eb643b SHA512 1296dd00a4db6d58aa38159b3b83a27a9930e973443d6264c5105ea638c92bc15bb171031a8e4b07c5fa9028f2481b43d70d09e4860ee2779a7d086bf0bed6f7 +DIST cgit-httpd-0.5.0.tar.xz 9480 BLAKE2B 8218726ef0df49e1bcec723320f8e3dcddf63d25e753293a2b55ab293a9d4eae3e7db65eeadae6f8888c977c672dc56efbd384a8f0002310d6b745f3659b5793 SHA512 249e485b11a5317db37f914706cf69cde9935c0c522c7f9bf4fd817dbba4c0378f3cfa0eeead582d86073932b88c2385cbc91442cf2ba45caad1ccbf51b824f3 diff --git a/www-servers/cgit-httpd/cgit-httpd-0.5.0.ebuild b/www-servers/cgit-httpd/cgit-httpd-0.5.0.ebuild new file mode 100644 index 0000000..dd41d13 --- /dev/null +++ b/www-servers/cgit-httpd/cgit-httpd-0.5.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 2020-2024 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.18" +SRC_URI="https://git.terinstock.com/cgit-httpd.git/snapshot/${P}.tar.xz" +SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz" + +LICENSE="MPL-2.0" +LICENSE+=" BSD" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + ego build . +} + +src_test() { + ego test ./... +} + +src_install() { + dobin cgit-httpd +} |