mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 07:19:01 -04:00
app-emacs/vterm: no executable files
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
parent
bb28238c7e
commit
230bb55016
63
app-emacs/vterm/vterm-20200504.544-r1.ebuild
Normal file
63
app-emacs/vterm/vterm-20200504.544-r1.ebuild
Normal file
@ -0,0 +1,63 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit elisp cmake
|
||||
|
||||
DESCRIPTION="Emacs libvterm integration"
|
||||
HOMEPAGE="https://github.com/akermu/emacs-libvterm"
|
||||
SRC_URI="https://melpa.org/packages/${PN}-${PV}.tar -> ${P}.tar"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
app-editors/emacs[dynamic-loading]
|
||||
dev-libs/libvterm
|
||||
"
|
||||
|
||||
ELISP_REMOVE="${PN}-pkg.el"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_configure() {
|
||||
elisp-make-autoload-file
|
||||
|
||||
local mycmakeargs=(
|
||||
"USE_SYSTEM_LIBVTERM=yes"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
elisp_src_compile
|
||||
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
|
||||
dodoc README.md
|
||||
|
||||
# install vterm module
|
||||
elisp-install "${PN}" *.so
|
||||
|
||||
# add shell config files
|
||||
if has_version app-shells/bash; then
|
||||
elog "Adding configuration for bash."
|
||||
insinto /etc/bash/bashrc.d/
|
||||
newins "${FILESDIR}/bashrc" bash-emacs-vterm.sh
|
||||
fi
|
||||
if has_version app-shells/zsh; then
|
||||
elog "Adding configuration for zsh."
|
||||
insinto /etc/profile.d/
|
||||
newins "${FILESDIR}/zshrc" zsh-emacs-vterm.sh
|
||||
fi
|
||||
if has_version app-shells/fish; then
|
||||
elog "Adding configuration for fish."
|
||||
insinto /etc/fish/conf.d/
|
||||
newins "${FILESDIR}/config.fish" emacs-vterm.fish
|
||||
fi
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user