diff options
author | 2024-09-15 01:57:01 +0200 | |
---|---|---|
committer | 2024-09-15 01:57:01 +0200 | |
commit | 6bf79da142fd7caab417f4f4639906bca3db72db (patch) | |
tree | 2c8dcb0e26950ed509d3bd61f52ecd7bf87fd950 /www-servers/cgit-httpd/cgit-httpd-0.5.2.ebuild | |
parent | www-servers/cgit-httpd: add 0.5.1 (diff) | |
download | ebuilds-6bf79da142fd7caab417f4f4639906bca3db72db.tar.xz |
www-servers/cgit-httpd: add 0.5.2, drop 0.5.0
Diffstat (limited to 'www-servers/cgit-httpd/cgit-httpd-0.5.2.ebuild')
-rw-r--r-- | www-servers/cgit-httpd/cgit-httpd-0.5.2.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/www-servers/cgit-httpd/cgit-httpd-0.5.2.ebuild b/www-servers/cgit-httpd/cgit-httpd-0.5.2.ebuild new file mode 100644 index 0000000..dd41d13 --- /dev/null +++ b/www-servers/cgit-httpd/cgit-httpd-0.5.2.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 +} |