1 |
commit: a9379f55a9afcd3570a7cf51f8c9eb2abbc0c35c |
2 |
Author: Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me> |
3 |
AuthorDate: Wed Aug 17 14:08:41 2022 +0000 |
4 |
Commit: Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me> |
5 |
CommitDate: Wed Aug 17 14:08:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a9379f55 |
7 |
|
8 |
www-apps/mycorrhiza: new package, add 1.11.0, 9999 |
9 |
|
10 |
Signed-off-by: Eric Joldasov <bratishkaerik <AT> getgoogleoff.me> |
11 |
|
12 |
www-apps/mycorrhiza/Manifest | 2 ++ |
13 |
www-apps/mycorrhiza/metadata.xml | 13 +++++++++ |
14 |
www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild | 41 +++++++++++++++++++++++++++ |
15 |
www-apps/mycorrhiza/mycorrhiza-9999.ebuild | 42 ++++++++++++++++++++++++++++ |
16 |
4 files changed, 98 insertions(+) |
17 |
|
18 |
diff --git a/www-apps/mycorrhiza/Manifest b/www-apps/mycorrhiza/Manifest |
19 |
new file mode 100644 |
20 |
index 000000000..1bc7380f1 |
21 |
--- /dev/null |
22 |
+++ b/www-apps/mycorrhiza/Manifest |
23 |
@@ -0,0 +1,2 @@ |
24 |
+DIST mycorrhiza-1.11.0-deps.tar.bz2 21778870 BLAKE2B 33f7d048280b36fa67d41ecc5b78ddf21442af07f83e6751b556832a859cc21ab4613aa5d02df7d4a8a7c73795f8f546b692ca59fbe2fee38492532b7660c60a SHA512 99d4657506fe74d8736242ac36e1986783fe4d01dfdb61cabe55646f9b566fe72daeba2efc0dedbce21ab99b33553a8e449030959b4f11f475672f58ae9777c5 |
25 |
+DIST mycorrhiza-1.11.0.tar.gz 135211 BLAKE2B 58d59c8ac8e56a84711736c5c98e2524840fc54184bd3f250d883aa407066ffa4b5162d754c1162b5e53e1248ea634831e15be33db6adff268c93d7d478d48fe SHA512 be1a403b73d31462b41dcd3c3eb781312170ee9ac7bef7db4e01041197f2097f258f97fe3210e0e17079f5d579b8b8384e081659f9b77011804246336187a9d0 |
26 |
|
27 |
diff --git a/www-apps/mycorrhiza/metadata.xml b/www-apps/mycorrhiza/metadata.xml |
28 |
new file mode 100644 |
29 |
index 000000000..225a4d289 |
30 |
--- /dev/null |
31 |
+++ b/www-apps/mycorrhiza/metadata.xml |
32 |
@@ -0,0 +1,13 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="person"> |
37 |
+ <email>bratishkaerik@××××××××××××.me</email> |
38 |
+ <name>Eric Joldasov</name> |
39 |
+ </maintainer> |
40 |
+ <upstream> |
41 |
+ <remote-id type="github">bouncepaw/mycorrhiza</remote-id> |
42 |
+ <bugs-to>https://github.com/bouncepaw/mycorrhiza/issues</bugs-to> |
43 |
+ <doc lang="en">https://mycorrhiza.wiki</doc> |
44 |
+ </upstream> |
45 |
+</pkgmetadata> |
46 |
|
47 |
diff --git a/www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild b/www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild |
48 |
new file mode 100644 |
49 |
index 000000000..b3734d7dd |
50 |
--- /dev/null |
51 |
+++ b/www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild |
52 |
@@ -0,0 +1,41 @@ |
53 |
+# Copyright 2022 Gentoo Authors |
54 |
+# Distributed under the terms of the GNU General Public License v2 |
55 |
+ |
56 |
+EAPI=8 |
57 |
+ |
58 |
+inherit go-module |
59 |
+ |
60 |
+DESCRIPTION="Git-based wiki engine written in Go using mycomarkup" |
61 |
+HOMEPAGE="https://mycorrhiza.wiki" |
62 |
+ |
63 |
+SRC_URI=" |
64 |
+ https://github.com/bouncepaw/mycorrhiza/archive/v${PV}.tar.gz -> ${P}.tar.gz |
65 |
+ https://codeberg.org/BratishkaErik/distfiles/media/branch/master/${P}-deps.tar.bz2 |
66 |
+" |
67 |
+KEYWORDS="~amd64 ~x86" |
68 |
+ |
69 |
+LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2" |
70 |
+SLOT="0" |
71 |
+ |
72 |
+BDEPEND=">=dev-lang/go-1.18.0" |
73 |
+RDEPEND="dev-vcs/git" |
74 |
+ |
75 |
+src_compile() { |
76 |
+ ego build -buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS}'" -trimpath . |
77 |
+} |
78 |
+ |
79 |
+src_install() { |
80 |
+ dobin mycorrhiza |
81 |
+ doman help/mycorrhiza.1 |
82 |
+ dodoc README.md |
83 |
+} |
84 |
+ |
85 |
+pkg_postinst() { |
86 |
+ elog "Quick start: /usr/bin/mycorrhiza /your/wiki/directory" |
87 |
+ elog |
88 |
+ elog "It will initialize a Git repository, set useful default settings" |
89 |
+ elog "And run a server on http://localhost:1737" |
90 |
+ elog "More information here: https://mycorrhiza.wiki/" |
91 |
+ elog "Also your wiki has built-in documentation :)" |
92 |
+ elog "You can view this documentation at http://localhost:1737/help" |
93 |
+} |
94 |
|
95 |
diff --git a/www-apps/mycorrhiza/mycorrhiza-9999.ebuild b/www-apps/mycorrhiza/mycorrhiza-9999.ebuild |
96 |
new file mode 100644 |
97 |
index 000000000..c55fba6a4 |
98 |
--- /dev/null |
99 |
+++ b/www-apps/mycorrhiza/mycorrhiza-9999.ebuild |
100 |
@@ -0,0 +1,42 @@ |
101 |
+# Copyright 2022 Gentoo Authors |
102 |
+# Distributed under the terms of the GNU General Public License v2 |
103 |
+ |
104 |
+EAPI=8 |
105 |
+ |
106 |
+inherit go-module git-r3 |
107 |
+ |
108 |
+DESCRIPTION="Git-based wiki engine written in Go using mycomarkup" |
109 |
+HOMEPAGE="https://mycorrhiza.wiki" |
110 |
+ |
111 |
+EGIT_REPO_URI="https://github.com/bouncepaw/mycorrhiza" |
112 |
+ |
113 |
+LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2" |
114 |
+SLOT="0" |
115 |
+ |
116 |
+BDEPEND=">=dev-lang/go-1.18.0" |
117 |
+RDEPEND="dev-vcs/git" |
118 |
+ |
119 |
+src_unpack() { |
120 |
+ git-r3_src_unpack |
121 |
+ go-module_live_vendor |
122 |
+} |
123 |
+ |
124 |
+src_compile() { |
125 |
+ ego build -buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS}'" -trimpath . |
126 |
+} |
127 |
+ |
128 |
+src_install() { |
129 |
+ dobin mycorrhiza |
130 |
+ doman help/mycorrhiza.1 |
131 |
+ dodoc README.md |
132 |
+} |
133 |
+ |
134 |
+pkg_postinst() { |
135 |
+ elog "Quick start: /usr/bin/mycorrhiza /your/wiki/directory" |
136 |
+ elog |
137 |
+ elog "It will initialize a Git repository, set useful default settings" |
138 |
+ elog "And run a server on http://localhost:1737" |
139 |
+ elog "More information here: https://mycorrhiza.wiki/" |
140 |
+ elog "Also your wiki has built-in documentation :)" |
141 |
+ elog "You can view this documentation at http://localhost:1737/help" |
142 |
+} |