From d1eb51d60a4be4fe6b7ab384b9b2968908c07b6b Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 25 Jun 2020 17:25:50 +0300 Subject: emacs: add new package at 26.3 --- community/emacs/build | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 community/emacs/build (limited to 'community/emacs/build') 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" -- cgit v1.2.3