From ebf459d88093021df776029e5fbbed0b79fc7865 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 25 Jun 2020 16:59:41 +0300 Subject: emacs-nox: add new package at 26.3 --- community/emacs-nox/build | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 community/emacs-nox/build (limited to 'community/emacs-nox/build') diff --git a/community/emacs-nox/build b/community/emacs-nox/build new file mode 100755 index 00000000..d880f48f --- /dev/null +++ b/community/emacs-nox/build @@ -0,0 +1,26 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr \ + --with-modules \ + --without-all \ + --without-x \ + --with-x-toolkit=no \ + --with-x=no \ + --with-gnutls=yes \ + --with-xml2=yes + +mkdir -p "$1/usr/share/emacs/site-lisp" +cat << EOF > "$1/usr/share/emacs/site-lisp/site-start.el" +;; Better security defaults +(with-eval-after-load 'gnutls + (setq + gnutls-verify-error t + gnutls-min-prime-bits 2048 + gnutls-trustfiles '("/etc/ssl/cert.pem"))) +EOF + +make +make DESTDIR="$1" install + +rm -rf "$1/usr/lib/systemd" -- cgit v1.2.3