commit:     54902cfbd135315e860842c43e8f3636ca6c11bc
Author:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
AuthorDate: Fri Apr  7 13:57:28 2023 +0000
Commit:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
CommitDate: Fri Apr  7 13:57:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=54902cfb

www-apps/mycorrhiza: add 1.14.0

Signed-off-by: Eric Joldasov <bratishkaerik <AT> getgoogleoff.me>

 www-apps/mycorrhiza/Manifest                 |  2 ++
 www-apps/mycorrhiza/metadata.xml             |  2 ++
 www-apps/mycorrhiza/mycorrhiza-1.14.0.ebuild | 44 ++++++++++++++++++++++++++++
 3 files changed, 48 insertions(+)

diff --git a/www-apps/mycorrhiza/Manifest b/www-apps/mycorrhiza/Manifest
index 588c78179..c989bdc89 100644
--- a/www-apps/mycorrhiza/Manifest
+++ b/www-apps/mycorrhiza/Manifest
@@ -1,2 +1,4 @@
 DIST mycorrhiza-1.13.0-vendor.tar.xz 619980 BLAKE2B 
4a96132acd1e97105265dad263094a4be97a7ba30edf98e969a28363db2b4a11fd47f107eda7914decaa98b096e84cecbb96031ee10a1fc98b2239d9850325a9
 SHA512 
a8d2aaf15a9845830cac49a31c17a78b6beda2b39fcbc953111bb904bd3eee96d67411dcb5b97ff6b80005ebdb65066aa1816c8fc7d75a7525942f78a4d72e93
 DIST mycorrhiza-1.13.0.tar.gz 137249 BLAKE2B 
140f161dda53e03d24f552e35afc1e489f337ef9703e1269c3a5ffac52a7f7deff97c90d4604ed0328c79cd15ece6e87240333d93d843d48844ef2af815ef0fc
 SHA512 
ec1eda4764594af3ac36fcbb852e29e17881f656dc6e8cc6467d9a5f6c3604c24f29e3a9d882d15da1e55392f4a57fbdb27e033b7c0d273106356559617bfca4
+DIST mycorrhiza-1.14.0-vendor.tar.xz 655368 BLAKE2B 
86060d537b37f37d4aa5695d74664090d517fb59e33c089fffa7103a1c79d1cb8ce42aceff198f448e223ade032d37cf836c4035456e47ed5762a26658888014
 SHA512 
97819fe2fa23783fec8f8249fdcd2eea25d3dafa6bbe81ecffe481a48086a591507dd341ee08a484281f8b6c6bc9a5ef31d75ad7781b3f2e4221496d44af6eaf
+DIST mycorrhiza-1.14.0.tar.gz 137956 BLAKE2B 
202c0e8591b480a13e24133a7d5f76a71669b69ea70bfb86981721269ce808e07a3c0177dca19f33dadbd4ccaef25fac28134b8f44a0bc6c2b7c7e2cbee22c39
 SHA512 
fe40f5d382255e5439ace7218c28c1df62e368325835e48d563a52c3432e1f0a967924e4cd569d860f3094f942b94d4a6807d8fbf76db6c6b758a8c74a92b77c

diff --git a/www-apps/mycorrhiza/metadata.xml b/www-apps/mycorrhiza/metadata.xml
index 225a4d289..269942abf 100644
--- a/www-apps/mycorrhiza/metadata.xml
+++ b/www-apps/mycorrhiza/metadata.xml
@@ -7,6 +7,8 @@
        </maintainer>
        <upstream>
                <remote-id type="github">bouncepaw/mycorrhiza</remote-id>
+               <remote-id type="sourcehut">~bouncepaw/mycorrhiza</remote-id>
+               <changelog>https://mycorrhiza.wiki/hypha/release</changelog>
                
<bugs-to>https://github.com/bouncepaw/mycorrhiza/issues</bugs-to>
                <doc lang="en">https://mycorrhiza.wiki</doc>
        </upstream>

diff --git a/www-apps/mycorrhiza/mycorrhiza-1.14.0.ebuild 
b/www-apps/mycorrhiza/mycorrhiza-1.14.0.ebuild
new file mode 100644
index 000000000..17387f97a
--- /dev/null
+++ b/www-apps/mycorrhiza/mycorrhiza-1.14.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="Git-based wiki engine written in Go using mycomarkup"
+HOMEPAGE="https://mycorrhiza.wiki";
+
+SRC_URI="
+       https://github.com/bouncepaw/mycorrhiza/archive/v${PV}.tar.gz -> 
${P}.tar.gz
+       
https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-vendor.tar.xz
+"
+
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2 CC-BY-4.0"
+SLOT="0"
+RESTRICT="mirror"
+
+BDEPEND=">=dev-lang/go-1.19.0"
+RDEPEND="dev-vcs/git"
+
+src_compile() {
+       ego build -buildmode=pie -ldflags "-s -linkmode external -extldflags 
'${LDFLAGS}'" -trimpath .
+}
+
+src_install() {
+       dobin mycorrhiza
+       doman help/mycorrhiza.1
+       dodoc Boilerplate.md
+       dodoc README.md
+}
+
+pkg_postinst() {
+       elog "Quick start: mycorrhiza /your/wiki/directory"
+       elog
+       elog "It will initialize a Git repository, set useful default settings"
+       elog "And run a server on http://localhost:1737";
+       elog "More information here: https://mycorrhiza.wiki/";
+       elog "Also your wiki has built-in documentation :)"
+       elog "You can view this documentation at http://localhost:1737/help";
+}

Reply via email to