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 +++++++++++++++++++++++++++++++ community/emacs/checksums | 1 + community/emacs/depends | 9 +++++++++ community/emacs/sources | 1 + community/emacs/version | 1 + 5 files changed, 43 insertions(+) create mode 100755 community/emacs/build create mode 100644 community/emacs/checksums create mode 100644 community/emacs/depends create mode 100644 community/emacs/sources create mode 100644 community/emacs/version (limited to 'community/emacs') 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" diff --git a/community/emacs/checksums b/community/emacs/checksums new file mode 100644 index 00000000..7b695c17 --- /dev/null +++ b/community/emacs/checksums @@ -0,0 +1 @@ +4d90e6751ad8967822c6e092db07466b9d383ef1653feb2f95c93e7de66d3485 emacs-26.3.tar.xz diff --git a/community/emacs/depends b/community/emacs/depends new file mode 100644 index 00000000..b44d27b7 --- /dev/null +++ b/community/emacs/depends @@ -0,0 +1,9 @@ +giflib +gnutls +libjpeg-turbo +libpng +libxaw3d +libxml2 +ncurses +tiff +zlib diff --git a/community/emacs/sources b/community/emacs/sources new file mode 100644 index 00000000..f9a58690 --- /dev/null +++ b/community/emacs/sources @@ -0,0 +1 @@ +https://ftp.gnu.org/gnu/emacs/emacs-26.3.tar.xz diff --git a/community/emacs/version b/community/emacs/version new file mode 100644 index 00000000..439abc6c --- /dev/null +++ b/community/emacs/version @@ -0,0 +1 @@ +26.3 1 -- cgit v1.2.3