diff options
Diffstat (limited to 'community')
-rwxr-xr-x | community/emacs/build | 31 | ||||
-rw-r--r-- | community/emacs/checksums | 1 | ||||
-rw-r--r-- | community/emacs/depends | 9 | ||||
-rw-r--r-- | community/emacs/sources | 1 | ||||
-rw-r--r-- | community/emacs/version | 1 |
5 files changed, 43 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" 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 |