emacs: fix location of bundled config

This commit is contained in:
Leonid Pliushch 2021-10-09 20:00:52 +03:00
parent 0d87fffe68
commit 6d51835596
No known key found for this signature in database
GPG Key ID: 45F2964132545795
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Extensible, customizable text editor-and more"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=27.2
TERMUX_PKG_REVISION=4
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/emacs/emacs-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=b4a7cc4e78e63f378624e0919215b910af5bb2a0afc819fad298272e9f40c1b9
TERMUX_PKG_DEPENDS="ncurses, gnutls, libxml2, libjansson"
@ -113,7 +113,8 @@ termux_step_post_configure() {
}
termux_step_post_make_install() {
cp $TERMUX_PKG_BUILDER_DIR/site-init.el $TERMUX_PREFIX/share/emacs/${TERMUX_PKG_VERSION}/lisp/emacs-lisp/
install -Dm600 $TERMUX_PKG_BUILDER_DIR/site-start.el \
$TERMUX_PREFIX/share/emacs/site-lisp/site-start.el
}
termux_step_create_debscripts() {