.mutt/build-neomutt

Fri, 08 Apr 2016 17:48:37 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 08 Apr 2016 17:48:37 -0400
changeset 290
6a140c2e1366
child 291
c9832253606a
permissions
-rwxr-xr-x

add build-neomutt

290
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 cd
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 mkdir -p sandbox
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 if [ ! -d sandbox/neomutt ]; then
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 git clone https://github.com/neomutt/neomutt.git sandbox/neomutt
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 else
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 git -C sandbox/neomutt pull
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 fi
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 cd sandbox/neomutt
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 ./prepare \
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16 --with-ssl \
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
17 --enable-imap --enable-smtp \
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18 --enable-sidebar --enable-hcache >/dev/null
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19 make mutt -j2 >/dev/null
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
20
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
21 cd ~/bin
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
22 ln -sf ../sandbox/neomutt/mutt mutt
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
23

mercurial