From 6d51835596f943eb9ed96ec1120ae8339e974285 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sat, 9 Oct 2021 20:00:52 +0300 Subject: [PATCH] emacs: fix location of bundled config --- packages/emacs/build.sh | 5 +++-- packages/emacs/{site-init.el => site-start.el} | 0 2 files changed, 3 insertions(+), 2 deletions(-) rename packages/emacs/{site-init.el => site-start.el} (100%) diff --git a/packages/emacs/build.sh b/packages/emacs/build.sh index 10c4cc4d7..13fe11c6c 100644 --- a/packages/emacs/build.sh +++ b/packages/emacs/build.sh @@ -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() { diff --git a/packages/emacs/site-init.el b/packages/emacs/site-start.el similarity index 100% rename from packages/emacs/site-init.el rename to packages/emacs/site-start.el