diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-04-26 04:12:41 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-04-26 04:15:01 +0200 |
commit | 78efac07ac38b7ff49925e861b303b8a8b5ec9bf (patch) | |
tree | 1fe21f1d00d4b46c81bb2c8689aad02638276817 /app-emacs/bind-key/bind-key-2.4.1-r1.ebuild | |
parent | dev-util/meson: add 0.62.1 (diff) | |
download | gentoo-78efac07ac38b7ff49925e861b303b8a8b5ec9bf.tar.gz gentoo-78efac07ac38b7ff49925e861b303b8a8b5ec9bf.tar.bz2 gentoo-78efac07ac38b7ff49925e861b303b8a8b5ec9bf.zip |
app-emacs/bind-key: fix elisp installtion
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/bind-key/bind-key-2.4.1-r1.ebuild')
-rw-r--r-- | app-emacs/bind-key/bind-key-2.4.1-r1.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app-emacs/bind-key/bind-key-2.4.1-r1.ebuild b/app-emacs/bind-key/bind-key-2.4.1-r1.ebuild new file mode 100644 index 000000000000..9a2527d8396d --- /dev/null +++ b/app-emacs/bind-key/bind-key-2.4.1-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Simple way to manage personal keybindings" +HOMEPAGE="https://github.com/jwiegley/use-package/" +SRC_URI="https://github.com/jwiegley/use-package/archive/${PV}.tar.gz + -> use-package-${PV}.tar.gz" +S="${WORKDIR}"/use-package-${PV} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + elisp-compile ${PN}.el +} + +src_install() { + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + elisp-install ${PN} ${PN}.el{,c} +} |