aboutsummaryrefslogtreecommitdiff
path: root/community/emacs-nox
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-06-25 16:59:41 +0300
committerCem Keylan <cem@ckyln.com>2020-06-25 16:59:41 +0300
commitebf459d88093021df776029e5fbbed0b79fc7865 (patch)
tree889cce3a7d8195f13673ed89c6202e06f4668d50 /community/emacs-nox
parentdf5f49797a8ee490f9bedeb18fd1e8a09207225a (diff)
downloadrepository-ebf459d88093021df776029e5fbbed0b79fc7865.tar.gz
emacs-nox: add new package at 26.3
Diffstat (limited to 'community/emacs-nox')
-rwxr-xr-xcommunity/emacs-nox/build26
l---------community/emacs-nox/checksums1
-rw-r--r--community/emacs-nox/depends5
l---------community/emacs-nox/sources1
l---------community/emacs-nox/version1
5 files changed, 34 insertions, 0 deletions
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"
diff --git a/community/emacs-nox/checksums b/community/emacs-nox/checksums
new file mode 120000
index 00000000..c2c4ed80
--- /dev/null
+++ b/community/emacs-nox/checksums
@@ -0,0 +1 @@
+../emacs/checksums \ No newline at end of file
diff --git a/community/emacs-nox/depends b/community/emacs-nox/depends
new file mode 100644
index 00000000..de133391
--- /dev/null
+++ b/community/emacs-nox/depends
@@ -0,0 +1,5 @@
+gnutls
+libxml2
+ncurses
+xz
+zlib
diff --git a/community/emacs-nox/sources b/community/emacs-nox/sources
new file mode 120000
index 00000000..42eb63fb
--- /dev/null
+++ b/community/emacs-nox/sources
@@ -0,0 +1 @@
+../emacs/sources \ No newline at end of file
diff --git a/community/emacs-nox/version b/community/emacs-nox/version
new file mode 120000
index 00000000..ad7bc6da
--- /dev/null
+++ b/community/emacs-nox/version
@@ -0,0 +1 @@
+../emacs/version \ No newline at end of file