aboutsummaryrefslogtreecommitdiff
path: root/community/emacs
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-06-25 17:25:50 +0300
committerCem Keylan <cem@ckyln.com>2020-06-25 17:25:50 +0300
commitd1eb51d60a4be4fe6b7ab384b9b2968908c07b6b (patch)
treed8405cbc563e701257f465821df8f932c190d034 /community/emacs
parent48dce05a14c0aed3c06c62bff44c615bb2d39231 (diff)
downloadrepository-d1eb51d60a4be4fe6b7ab384b9b2968908c07b6b.tar.gz
emacs: add new package at 26.3
Diffstat (limited to 'community/emacs')
-rwxr-xr-xcommunity/emacs/build31
-rw-r--r--community/emacs/checksums1
-rw-r--r--community/emacs/depends9
-rw-r--r--community/emacs/sources1
-rw-r--r--community/emacs/version1
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