diff options
author | Cem Keylan <cem@ckyln.com> | 2020-06-25 17:25:50 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-06-25 17:25:50 +0300 |
commit | d1eb51d60a4be4fe6b7ab384b9b2968908c07b6b (patch) | |
tree | d8405cbc563e701257f465821df8f932c190d034 /community/emacs/build | |
parent | 48dce05a14c0aed3c06c62bff44c615bb2d39231 (diff) | |
download | repository-d1eb51d60a4be4fe6b7ab384b9b2968908c07b6b.tar.gz |
emacs: add new package at 26.3
Diffstat (limited to 'community/emacs/build')
-rwxr-xr-x | community/emacs/build | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/emacs/build b/community/emacs/build new file mode 100755 index 00000000..7428c187 --- /dev/null +++ b/community/emacs/build @@ -0,0 +1,31 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr \ + --with-modules \ + --with-xft \ + --with-x-toolkit=athena \ + --without-toolkit-scroll-bars \ + --without-dbus \ + --without-gconf \ + --without-gsettings \ + --with-xpm=no \ + --with-gnutls=yes + +mkdir -p "$1/usr/share/emacs/site-lisp" +cat << EOF > "$1/usr/share/emacs/site-lisp/site-start.el" +;; GnuTLS configuration +;; In Carbs, CA certificates are installed to /etc/certificates +(with-eval-after-load 'gnutls + (setq gnutls-verify-error t + gnutls-min-prime-bits 2048 + gnutls-trustfiles '("/etc/certificates/cert.pem") +)) + +(setq-default shr-blocked-images ".*\.svg$") +EOF + +make +make DESTDIR="$1" install + +rm -rf "$1/usr/lib/systemd" |