diff options
author | 2024-09-14 15:46:27 +0200 | |
---|---|---|
committer | 2024-09-14 15:46:27 +0200 | |
commit | 9f6cc0070b6314548618f142ddc9d58c66ceefdc (patch) | |
tree | c1f5fa22f3a4811c2e4a4e637cf57aab2254bbd2 /www-servers | |
parent | dev-go/gotestsum: new package, add 1.12.0 (diff) | |
download | ebuilds-9f6cc0070b6314548618f142ddc9d58c66ceefdc.tar.xz |
www-servers/cgit-httpd: add 0.5.1
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.1.ebuild | 28 |
2 files changed, 30 insertions, 0 deletions
diff --git a/www-servers/cgit-httpd/Manifest b/www-servers/cgit-httpd/Manifest index 360a765..77b1b46 100644 --- a/www-servers/cgit-httpd/Manifest +++ b/www-servers/cgit-httpd/Manifest @@ -1,2 +1,4 @@ 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 +DIST cgit-httpd-0.5.1-vendor.tar.xz 50700 BLAKE2B 6a292bde4190c2674c59f9e2c902cf9c4a8e9ffecdd37e30e5d808f13be9afda1774e26203ae7a20eb55d4d27643134a66a050c69dc1e5d29879383876cf53c1 SHA512 0210c5af5df1a5047ba29d7f602db0dd9132ed42beb1bcecf937e7d64224442d98eb61d44ea0ca1e4472bddbe4956fc521e1d4f3d1f880ffdd71163eac36ce5f +DIST cgit-httpd-0.5.1.tar.xz 9484 BLAKE2B cca91e408748ff5ba816d7d49aba2aceb33175bd6eeacc6581659710ea92f85e27bd955f2fc845b99b9fe18b397cd39a246374b6b8869249dfccfa6a671f187d SHA512 eedc74a5d76f266d993cfd4c88233a1e9ad14ca78e7b4bbef04f65d56e70a2cf4c48c72b2dcc273c56bbd88ea2918d7d4638d30a37661c06e7a9804cb66c1255 diff --git a/www-servers/cgit-httpd/cgit-httpd-0.5.1.ebuild b/www-servers/cgit-httpd/cgit-httpd-0.5.1.ebuild new file mode 100644 index 0000000..dd41d13 --- /dev/null +++ b/www-servers/cgit-httpd/cgit-httpd-0.5.1.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 +} |