summaryrefslogtreecommitdiff
blob: 1a8f2d0437c37081d1c15769fa5fb68f17e68d66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit elisp

DESCRIPTION="Major mode for editing Markdown-formatted text files"
HOMEPAGE="https://jblevins.org/projects/markdown-mode/"
SRC_URI="https://stable.melpa.org/packages/${P}.el"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"

RDEPEND="|| ( dev-python/markdown2 dev-python/markdown )"

S="${WORKDIR}"

SITEFILE="50${PN}-gentoo.el"

src_unpack() {
	cp "${DISTDIR}"/${P}.el ${PN}.el || die
}