Commit 61fb8a7f authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] emacs: update to 26.2

parent f9db72e9
Pipeline #3317 skipped
pkgname=emacs
pkgver=26.1
pkgrel=3
pkgver=26.2
pkgrel=1
pkgdesc="The extensible, customizable, self-documenting real-time display editor"
arch=('x86_64')
url="https://www.gnu.org/software/emacs/emacs.html"
......@@ -8,13 +8,13 @@ license=('GPL3')
depends=('librsvg' 'gpm' 'giflib' 'libxpm' 'libotf' 'm17n-lib' 'gtk3' 'hicolor-icon-theme' 'desktop-file-utils'
'alsa-lib' 'libmagick6' 'gnutls')
conflicts=('emacs-nox')
install=emacs.install
source=(ftp://ftp.gnu.org/gnu/emacs/$pkgname-$pkgver.tar.xz)
md5sums=('649ec46965a8b842bdb2cbf7764c2a9a')
md5sums=('02ba7003f14957529bcd05cfc3ebb754')
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
PKG_CONFIG_PATH="/usr/lib/imagemagick6/pkgconfig" \
ac_cv_lib_gif_EGifPutExtensionLast=yes ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
--localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules
make
}
......
INFO_DIR=usr/share/info
INFO_FILES=(ada-mode auth autotype bovine calc ccmode cl dbus dired-x ebrowse
ede ediff edt efaq eieio eintr elisp emacs emacs-gnutls emacs-mime epa erc ert eshell eudc flymake
forms gnus htmlfontify idlwave mairix-el message mh-e newsticker nxml-mode
org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses sieve smtpmail
speedbar srecode tramp url vip viper widget wisent woman)
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
kbuildsycoca4 &> /dev/null
[[ -x usr/bin/install-info ]] || return 0
for f in ${INFO_FILES[@]}; do
install-info ${INFO_DIR}/$f.info.gz ${INFO_DIR}/dir 2> /dev/null
done
}
post_upgrade() {
post_install $1
}
pre_remove() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
[[ -x usr/bin/install-info ]] || return 0
for f in ${INFO_FILES[@]}; do
install-info --delete ${INFO_DIR}/$f.info.gz ${INFO_DIR}/dir 2> /dev/null
done
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment