.mutt/build-neomutt

Wed, 18 May 2016 23:58:35 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 18 May 2016 23:58:35 -0400
changeset 310
6dd92510e2bd
parent 302
3a25d9b124bc
child 311
1912a7c57deb
permissions
-rwxr-xr-x

revert to update

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 \
302
3a25d9b124bc enable caches
Meredith Howard <mhoward@roomag.org>
parents: 293
diff changeset
17 --enable-hcache \
290
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18 --enable-imap --enable-smtp \
293
7df7f79939f0 drop hcache, make default
Meredith Howard <mhoward@roomag.org>
parents: 291
diff changeset
19 --enable-sidebar >/dev/null
7df7f79939f0 drop hcache, make default
Meredith Howard <mhoward@roomag.org>
parents: 291
diff changeset
20
7df7f79939f0 drop hcache, make default
Meredith Howard <mhoward@roomag.org>
parents: 291
diff changeset
21 make -j3 >/dev/null
290
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
22
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
23 cd ~/bin
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
24 ln -sf ../sandbox/neomutt/mutt mutt
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
25

mercurial