summaryrefslogtreecommitdiff
blob: 478dd8e79ff3ba3195e1fb884958d67aff671084 (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
25
26
27
28
29
30
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit readme.gentoo-r1

DESCRIPTION="A simple Emacs Lisp tutorial"
HOMEPAGE="http://www.gnuvola.org/software/elisp-tutorial/"
# taken from: http://www.gnuvola.org/software/${PN}/${P}.tar.gz"
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.gz"

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

src_install() {
	docinto html
	dodoc index.html
	docinto .
	dodoc *.el ChangeLog NEWS

	DOC_CONTENTS="Open /usr/share/doc/${PF}/html/index.html with your browser.
		The Lisp files of the tutorial can be found in /usr/share/doc/${PF}/."
	readme.gentoo_create_doc
}

pkg_postinst() {
	readme.gentoo_print_elog
}