mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
www-apps/mycorrhiza: new package, add 1.11.0, 9999
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
This commit is contained in:
2
www-apps/mycorrhiza/Manifest
Normal file
2
www-apps/mycorrhiza/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST mycorrhiza-1.11.0-deps.tar.bz2 21778870 BLAKE2B 33f7d048280b36fa67d41ecc5b78ddf21442af07f83e6751b556832a859cc21ab4613aa5d02df7d4a8a7c73795f8f546b692ca59fbe2fee38492532b7660c60a SHA512 99d4657506fe74d8736242ac36e1986783fe4d01dfdb61cabe55646f9b566fe72daeba2efc0dedbce21ab99b33553a8e449030959b4f11f475672f58ae9777c5
|
||||
DIST mycorrhiza-1.11.0.tar.gz 135211 BLAKE2B 58d59c8ac8e56a84711736c5c98e2524840fc54184bd3f250d883aa407066ffa4b5162d754c1162b5e53e1248ea634831e15be33db6adff268c93d7d478d48fe SHA512 be1a403b73d31462b41dcd3c3eb781312170ee9ac7bef7db4e01041197f2097f258f97fe3210e0e17079f5d579b8b8384e081659f9b77011804246336187a9d0
|
||||
13
www-apps/mycorrhiza/metadata.xml
Normal file
13
www-apps/mycorrhiza/metadata.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>bratishkaerik@getgoogleoff.me</email>
|
||||
<name>Eric Joldasov</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">bouncepaw/mycorrhiza</remote-id>
|
||||
<bugs-to>https://github.com/bouncepaw/mycorrhiza/issues</bugs-to>
|
||||
<doc lang="en">https://mycorrhiza.wiki</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
41
www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild
Normal file
41
www-apps/mycorrhiza/mycorrhiza-1.11.0.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# 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}-deps.tar.bz2
|
||||
"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2"
|
||||
SLOT="0"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.18.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 README.md
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Quick start: /usr/bin/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"
|
||||
}
|
||||
42
www-apps/mycorrhiza/mycorrhiza-9999.ebuild
Normal file
42
www-apps/mycorrhiza/mycorrhiza-9999.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module git-r3
|
||||
|
||||
DESCRIPTION="Git-based wiki engine written in Go using mycomarkup"
|
||||
HOMEPAGE="https://mycorrhiza.wiki"
|
||||
|
||||
EGIT_REPO_URI="https://github.com/bouncepaw/mycorrhiza"
|
||||
|
||||
LICENSE="AGPL-3 MIT Apache-2.0 BSD BSD-2"
|
||||
SLOT="0"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.18.0"
|
||||
RDEPEND="dev-vcs/git"
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
go-module_live_vendor
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ego build -buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS}'" -trimpath .
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin mycorrhiza
|
||||
doman help/mycorrhiza.1
|
||||
dodoc README.md
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Quick start: /usr/bin/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"
|
||||
}
|
||||
Reference in New Issue
Block a user