.mutt/build-neomutt

Tue, 21 Jun 2016 15:14:34 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 21 Jun 2016 15:14:34 -0400
changeset 338
296f4b036ae3
parent 321
12d8f50e80a9
permissions
-rwxr-xr-x

move git-bre into a real command with better filename safety

#!/bin/sh
set -eu

echo "Requirements (on debian):"
echo "autoconf libncursesw5-dev libssl-dev libtokyocabinet-dev libsasl2-dev"
echo "links"

cd
mkdir -p sandbox

if [ ! -d sandbox/neomutt ]; then
  git clone https://github.com/neomutt/neomutt.git sandbox/neomutt
else
  git -C sandbox/neomutt pull
fi

cd sandbox/neomutt

./prepare \
 --with-ssl --with-sasl \
 --enable-hcache \
 --enable-imap --enable-smtp \
 --enable-sidebar >/dev/null

make -s -j3

cd ~/bin
ln -sf ../sandbox/neomutt/mutt
ln -sf ../sandbox/neomutt/pgpewrap

mercurial