mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
Closes: https://bugs.gentoo.org/898218 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
29 lines
622 B
Bash
29 lines
622 B
Bash
# 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"
|
|
|
|
DEPEND="dev-libs/libpcre:3"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
set_package_url "https://github.com/soasme/nim-markdown"
|
|
|
|
src_install() {
|
|
nimble_src_install
|
|
mv "${ED}"/usr/bin/{markdown,nim-markdown} || die
|
|
}
|