From 9a77bced44473496cc35a6e1a0995bf95817871d Mon Sep 17 00:00:00 2001 From: Mike Crute Date: Sun, 12 May 2019 19:12:07 +0000 Subject: Initial import --- neomutt.sh | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100755 neomutt.sh (limited to 'neomutt.sh') diff --git a/neomutt.sh b/neomutt.sh new file mode 100755 index 0000000..9e6c531 --- /dev/null +++ b/neomutt.sh @@ -0,0 +1,53 @@ +#!/bin/bash + +set -euxo pipefail + +RELEASE="neomutt-$(date +%Y%m%d)" + +#curl -Ls https://github.com/neomutt/neomutt/archive/master.tar.gz | \ +curl -Ls https://github.com/neomutt/neomutt/archive/neomutt-20180716.tar.gz | \ + tar -xz -C /build/source --strip-components=1 + +apt-get install -y \ + docbook-xml \ + docbook-xsl \ + gettext \ + libgnutls28-dev \ + libgpgme-dev \ + libidn11-dev \ + libkrb5-dev \ + liblua5.3-dev \ + libncursesw5-dev \ + libnotmuch-dev \ + libsasl2-dev \ + libtokyocabinet-dev \ + libxml2-utils \ + xsltproc + +cd /build/source +./configure --prefix="/build/target/$RELEASE" \ + --with-lock=fcntl \ + --with-ui=ncurses \ + --gpgme \ + --lua \ + --with-lua=/usr \ + --notmuch \ + --gnutls \ + --gss \ + --idn \ + --mixmaster \ + --sasl \ + --tokyocabinet + +make && make install + +# Neomutt needs some post install libraries +cd /build/target +touch install-neomutt.sh && chmod +x install-neomutt.sh +cat > install-neomutt.sh <