From bab6c5ac73ee7b9b459125cb9f112cae675496ec Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 22 Dec 2022 12:59:52 +0100 Subject: [PATCH] [emacs] build in sources --- e/emacs/SlackBuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/e/emacs/SlackBuild b/e/emacs/SlackBuild index fa47a2f3..3ad6c7db 100755 --- a/e/emacs/SlackBuild +++ b/e/emacs/SlackBuild @@ -98,7 +98,8 @@ rm lisp/loaddefs.el # https://lists.gnu.org/r/emacs-devel/2021-04/ms [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" -mkdir -p $TMP/$PKGNAM +#mkdir -p $TMP/$PKGNAM +cp -R $REPOSITORY $TMP/$PKGNAM cd $TMP/$PKGNAM || exit 1 # tar xvf $CWD/$PKGNAM-$TARBALLVER.tar.xz || exit 1 @@ -111,7 +112,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -SRCDIR=$REPOSITORY +#SRCDIR=$REPOSITORY +SRCDIR=. EMACS_VERSION=$(grep "AC_INIT(\[GNU Emacs\]," $SRCDIR/configure.ac | cut -d, -f 2 | tr -d \ | tr -d [ | tr -d ]) CFLAGS="$SLKCFLAGS" \