Files
guru/dev-nim/markdown/markdown-0.8.5.ebuild
Anna (cybertailor) Vyalkova 50e54e7627 dev-nim/markdown: new package, add 0.8.5
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2022-07-02 09:17:19 +05:00

26 lines
568 B
Bash

# Copyright 2022 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
}