summaryrefslogtreecommitdiff
blob: dcfd674f615e594ccd100e4a707c9fbec9e9001d (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit elisp

DESCRIPTION="Make Emacs bindings that stick around"
HOMEPAGE="https://github.com/abo-abo/hydra/"
SRC_URI="https://github.com/abo-abo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

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

RDEPEND="app-emacs/lv"
BDEPEND="${RDEPEND}"

DOCS=( README.md doc/Changelog.org )
SITEFILE="50${PN}-gentoo.el"

src_test() {
	emake test
}

src_install() {
	rm hydra-test.el{,c} lv.el{,c} || die
	elisp_src_install
}