summaryrefslogtreecommitdiff
path: root/app-emacs/posframe/posframe-1.0.4.ebuild
blob: 6df9d5973564cf0b5dd3810a7ce423ed3617a1f9 (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 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

NEED_EMACS="27"

inherit elisp

DESCRIPTION="Pop a postframe at point."
HOMEPAGE="https://github.com/tumashu/posframe"
COMMIT="74f06b77deeb770cd0a96977b1e6bdedb682487a"
SRC_URI="https://github.com/tumashu/posframe/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"

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

RDEPEND=">=app-editors/emacs-27[gtk]"

SITEFILE="50${PN}-gentoo.el"
ELISP_REMOVE="posframe-benchmark.el"
DOCS=( README.org )

src_compile() {
	elisp-make-autoload-file "${S}/${PN}-autoload.el" "${S}/"
	elisp_src_compile
}