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/cgit-httpd/cgit-httpd-0.5.0.ebuild | |
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/cgit-httpd/cgit-httpd-0.5.0.ebuild')
-rw-r--r-- | www-servers/cgit-httpd/cgit-httpd-0.5.0.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
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 +} |