diff options
Diffstat (limited to 'opt/emacs/MAKEPKG')
| -rw-r--r-- | opt/emacs/MAKEPKG | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/opt/emacs/MAKEPKG b/opt/emacs/MAKEPKG new file mode 100644 index 0000000..72c8d7f --- /dev/null +++ b/opt/emacs/MAKEPKG @@ -0,0 +1,60 @@ +#!/bin/mkpkg +# description: The extensible, customizable, self-documenting text editor +# url: https://www.gnu.org/software/emacs/ + +name=emacs +version=31.1 +release=1 +depends=(gtk3 cairo pango harfbuzz gdk-pixbuf giflib libjpeg-turbo libpng tiff + libxml2 ncurses zlib glib gdk-pixbuf libxkbcommon gnutls wayland + wayland-protocols dbus) +makedeps=() +source=(https://ftp.gnu.org/gnu/emacs/emacs-$version.tar.xz) +sha256sums=( + "1da5790d9580c81932b5bf700633114468da7b3412d69faa767daebf974f4586" +) + +build() { + cd $name-$version + + CONFIG_SHELL=/bin/bash ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-pgtk \ + --with-cairo \ + --with-harfbuzz \ + --with-libxml2 \ + --with-png \ + --with-jpeg \ + --with-gif \ + --with-tiff \ + --with-zlib \ + --with-xwidgets=no \ + --with-tree-sitter=ifavailable \ + --with-gnutls \ + --with-dbus \ + --without-x \ + --without-gconf \ + --without-gsettings \ + --without-gpm \ + --without-kerberos \ + --without-selinux \ + --without-native-compilation \ + --without-imagemagick \ + CC=clang \ + CXX=clang++ \ + CFLAGS="$CFLAGS" \ + CXXFLAGS="$CXXFLAGS" \ + LDFLAGS="$LDFLAGS -fuse-ld=lld" + + make -j$(nproc) + make DESTDIR=$PKG install +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
