aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-nim/markdown/markdown-0.8.7.ebuild')
-rw-r--r--dev-nim/markdown/markdown-0.8.7.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-nim/markdown/markdown-0.8.7.ebuild b/dev-nim/markdown/markdown-0.8.7.ebuild
new file mode 100644
index 000000000..4cfb6b7de
--- /dev/null
+++ b/dev-nim/markdown/markdown-0.8.7.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit nimble
+
+DESCRIPTION="A Markdown Parser in Nim World"
+HOMEPAGE="
+ https://github.com/soasme/nim-markdown
+ https://nimble.directory/pkg/markdown
+"
+SRC_URI="https://github.com/soasme/nim-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/nim-${P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+set_package_url "https://github.com/soasme/nim-markdown"
+
+src_install() {
+ nimble_src_install
+ mv "${ED}"/usr/bin/{markdown,nim-markdown} || die
+}