aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArjan Adriaanse <arjan@adriaan.se>2020-05-09 20:48:15 +0200
committerArjan Adriaanse <arjan@adriaan.se>2020-05-09 20:52:17 +0200
commit42d2a11c096bd01a693192aa0f17087800b8eb7f (patch)
treeec8a57cd0273fef3f35e05625ec6388e215f41a0 /app-emacs
parentdev-R/dplyr: new package (diff)
downloadguru-42d2a11c096bd01a693192aa0f17087800b8eb7f.tar.gz
guru-42d2a11c096bd01a693192aa0f17087800b8eb7f.tar.bz2
guru-42d2a11c096bd01a693192aa0f17087800b8eb7f.zip
app-emacs/vterm: clean up and make config files not executable
Signed-off-by: Arjan Adriaanse <arjan@adriaan.se>
Diffstat (limited to 'app-emacs')
-rw-r--r--[-rwxr-xr-x]app-emacs/vterm/files/bashrc0
-rw-r--r--app-emacs/vterm/vterm-20200504.544.ebuild19
2 files changed, 9 insertions, 10 deletions
diff --git a/app-emacs/vterm/files/bashrc b/app-emacs/vterm/files/bashrc
index bafa9f16e..bafa9f16e 100755..100644
--- a/app-emacs/vterm/files/bashrc
+++ b/app-emacs/vterm/files/bashrc
diff --git a/app-emacs/vterm/vterm-20200504.544.ebuild b/app-emacs/vterm/vterm-20200504.544.ebuild
index 6de8fb88a..2fe565281 100644
--- a/app-emacs/vterm/vterm-20200504.544.ebuild
+++ b/app-emacs/vterm/vterm-20200504.544.ebuild
@@ -14,15 +14,16 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
- app-editors/emacs[dynamic-loading]
+ >=app-editors/emacs-26.1[dynamic-loading]
dev-libs/libvterm
"
ELISP_REMOVE="${PN}-pkg.el"
SITEFILE="50${PN}-gentoo.el"
+DOC="README.md"
src_configure() {
- elisp-make-autoload-file
+ elisp_src_configure
local mycmakeargs=( "USE_SYSTEM_LIBVTERM=yes" )
cmake_src_configure
@@ -37,25 +38,23 @@ 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."
- exeinto /etc/bash/bashrc.d/
- newexe "${FILESDIR}/bashrc" bash-emacs-vterm.sh
+ insinto /etc/bash/bashrc.d/
+ newins "${FILESDIR}/bashrc" emacs-vterm-bash.sh
fi
if has_version app-shells/zsh; then
elog "Adding configuration for zsh."
- exeinto /etc/profile.d/
- newexe "${FILESDIR}/zshrc" zsh-emacs-vterm.sh
+ insinto /etc/profile.d/
+ newins "${FILESDIR}/zshrc" emacs-vterm-bash.sh
fi
if has_version app-shells/fish; then
elog "Adding configuration for fish."
- exeinto /etc/fish/conf.d/
- newexe "${FILESDIR}/config.fish" emacs-vterm.fish
+ insinto /etc/fish/conf.d/
+ newins "${FILESDIR}/config.fish" emacs-vterm.fish
fi
}