Fri, 08 Apr 2016 17:48:37 -0400
add build-neomutt
290 | 1 | #!/bin/sh |
2 | set -eu | |
3 | ||
4 | cd | |
5 | mkdir -p sandbox | |
6 | ||
7 | if [ ! -d sandbox/neomutt ]; then | |
8 | git clone https://github.com/neomutt/neomutt.git sandbox/neomutt | |
9 | else | |
10 | git -C sandbox/neomutt pull | |
11 | fi | |
12 | ||
13 | cd sandbox/neomutt | |
14 | ||
15 | ./prepare \ | |
16 | --with-ssl \ | |
17 | --enable-imap --enable-smtp \ | |
18 | --enable-sidebar --enable-hcache >/dev/null | |
19 | make mutt -j2 >/dev/null | |
20 | ||
21 | cd ~/bin | |
22 | ln -sf ../sandbox/neomutt/mutt mutt | |
23 |