summaryrefslogtreecommitdiffstats
path: root/source/e/emacs/emacs.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-07-30 20:33:52 +0000
committer Eric Hameleers <alien@slackware.com>2023-07-30 22:59:22 +0200
commit349e00bb1775a444e4c1a1163e4157c2d3d63e60 (patch)
treea56b668d306940f39547118f2843df3fe0f6569f /source/e/emacs/emacs.SlackBuild
parentaef5ceee670256284ebeb2223fe28e77870f8fcd (diff)
downloadcurrent-20230730203352.tar.gz
current-20230730203352.tar.xz
Sun Jul 30 20:33:52 UTC 202320230730203352
d/binutils-2.41-x86_64-1.txz: Upgraded. d/oprofile-1.4.0-x86_64-12.txz: Rebuilt. Recompiled against binutils-2.41. d/tree-sitter-0.20.8-x86_64-1.txz: Added. This is a dependency for an interesting new feature of emacs-29.1. e/emacs-29.1-x86_64-1.txz: Upgraded. Compiled against tree-sitter-0.20.8. Grammar libraries for this can be downloaded and installed from within Emacs - see the NEWS file for details. l/gmp-6.3.0-x86_64-1.txz: Upgraded. l/libarchive-3.7.1-x86_64-1.txz: Upgraded. l/polkit-123-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/e/emacs/emacs.SlackBuild')
-rwxr-xr-xsource/e/emacs/emacs.SlackBuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/source/e/emacs/emacs.SlackBuild b/source/e/emacs/emacs.SlackBuild
index 55e69d88f..5cbc71883 100755
--- a/source/e/emacs/emacs.SlackBuild
+++ b/source/e/emacs/emacs.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2012, 2014, 2015, 2017, 2018, 2019, 2020, 2021 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011, 2012, 2014, 2015, 2017, 2018, 2019, 2020, 2021, 2023 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=emacs
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
# Determine version number the tarball is labeled with:
TARBALLVER=${TARBALLVER:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
# OK, now what's being used as the source directory version number... account
@@ -88,8 +88,6 @@ rm -rf $PKGNAM-$TARBALLVER
tar xvf $CWD/$PKGNAM-$TARBALLVER.tar.xz || exit 1
cd $PKGNAM-$SRCDIRVER || exit 1
-zcat $CWD/d48bb4874bc6cd3e69c7a15fc3c91cc141025c51.patch.gz | patch -p1 --verbose || exit 1
-
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -211,9 +209,16 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" \
mkdir -p $PKG/usr/doc/$PKGNAM-$TARBALLVER
cp -a \
- AUTHORS COPYING* INSTALL README* \
+ AUTHORS* COPYING* INSTALL* README* \
$PKG/usr/doc/$PKGNAM-$TARBALLVER
+# Link the latest NEWS file:
+( cd $PKG/usr/doc/$PKGNAM-$TARBALLVER
+ if [ -r $PKG/usr/share/emacs/$SRCDIRVER/etc/NEWS ]; then
+ ln -sf /usr/share/emacs/$SRCDIRVER/etc/NEWS .
+ fi
+)
+
# If there's a ChangeLog, installing at least part of the recent history
# is useful, but don't let it get totally out of control:
if [ -r ChangeLog ]; then