summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-go/go-md2man/Manifest1
-rw-r--r--dev-go/go-md2man/go-md2man-1.0.8.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-go/go-md2man/Manifest b/dev-go/go-md2man/Manifest
index ae8675a3a32f..f12a1a05acea 100644
--- a/dev-go/go-md2man/Manifest
+++ b/dev-go/go-md2man/Manifest
@@ -1,2 +1,3 @@
DIST go-md2man-1.0.3.tar.gz 3279 BLAKE2B 0b693569ad7ff609508dd28b11bacdc0eb08ee0fd2b2a23dad5e26a670e1fc0fcc2321ee099114dc144fb8671dfcd7ed072e7feb17bb96e17c2f9ff0e748ddac SHA512 855809f068daae2becb31d4b182b0953a9a11428cf89d488e2148256c6f4292bf24d42bd1c5bc96ba2c1c18a8201e859629f2515f750de390e4325cc320ac7b8
DIST go-md2man-1.0.6.tar.gz 40240 BLAKE2B 183a96b661419861fcca27e34fcd107070839087d61d3c36f3da3b3aa644678d4eeb6fa31ae3a07eb41dbd750ed43fa29b5518db9a56290530795f6b3cc16873 SHA512 73abf08470c7ba3c5e5f0212a19f37ae98a8582605d2493bb21b2e5c07fafa8fb711f05665e153863d195749a0870e674e203f377ec7bb8425b9d497fa9864d1
+DIST go-md2man-1.0.8.tar.gz 79284 BLAKE2B c6bf5c1507f0e7e6393c08592bf56e6423157f265a2f26b10f262c00b15c855e99c022d9e4b465247997b0c9d667ed71c727d03735af6214ec20ca30583235aa SHA512 4c52e01c9b07582b5d55d1e94935378a676bd284a3e8230a8a191d4678b1b6ae92b704a249117c542832170069a70c649e58a1752fb2973709259b5bc108db91
diff --git a/dev-go/go-md2man/go-md2man-1.0.8.ebuild b/dev-go/go-md2man/go-md2man-1.0.8.ebuild
new file mode 100644
index 000000000000..c3767538421b
--- /dev/null
+++ b/dev-go/go-md2man/go-md2man-1.0.8.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN=github.com/cpuguy83/go-md2man
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ KEYWORDS="~amd64 ~arm ~arm64"
+ EGIT_COMMIT=v${PV}
+ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ inherit golang-vcs-snapshot
+fi
+inherit golang-build
+
+DESCRIPTION="A utility to convert markdown to man pages"
+HOMEPAGE="https://github.com/cpuguy83/go-md2man"
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+src_install() {
+ "${S}"/go-md2man -in src/${EGO_PN}/go-md2man.1.md -out go-md2man.1
+ dobin go-md2man
+ doman go-md2man.1
+}