blob: ebb19850e1ab85a8d8e6d7d87659e4daf3763fe7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Maintainer: Jonathan Kotta <jpkotta AT gmail DOT com>
# Contributor: megadriver <megadriver at gmx dot com>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Renchi Raju <renchi@green.tam.uiuc.edu>
# Based on emacs from [extra] and emacs-bzr from the AUR
pkgname=emacs-lucid
pkgver=28.1
_pkgver_major=${pkgver/.*}
pkgrel=1
pkgdesc="The extensible, customizable, self-documenting real-time display editor (Lucid toolkit version)"
arch=('x86_64')
url="http://www.gnu.org/software/emacs/emacs.html"
license=('GPL3')
depends=(
alsa-lib
dbus
gmp
gnutls
gpm
hicolor-icon-theme
jansson
lcms2
libgccjit
librsvg
libxfixes
libxinerama
libxrandr
m17n-lib
)
optdepends=(desktop-file-utils)
conflicts=(emacs)
provides=("emacs=$_pkgver_major")
validpgpkeys=('17E90D521672C04631B1183EE78DAE0F3115E06B')
options=(debug)
_source_url_prefix="ftp://ftp.gnu.org/gnu/emacs"
source=(${_source_url_prefix}/emacs-$pkgver.tar.xz
${_source_url_prefix}/emacs-$pkgver.tar.xz.sig)
sha256sums=('28b1b3d099037a088f0a4ca251d7e7262eab5ea1677aabffa6c4426961ad75e1'
'SKIP')
build() {
cd "$srcdir"/emacs-$pkgver
# For the hardening-wrapper package. Emacs doesn't support building
# with PIE (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18784).
export HARDENING_PIE=0
./configure \
--prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var \
--with-x-toolkit=lucid --with-xft --without-gconf --without-gsettings \
--with-modules --with-native-compilation \
--program-transform-name='s/^ctags$/ctags.emacs/'
make
}
package() {
cd "$srcdir"/emacs-$pkgver
make DESTDIR="$pkgdir" install
# fix user/root permissions on usr/share files
find "$pkgdir"/usr/share/emacs/$pkgver -exec chown root:root {} \;
}
|