bin/setup-neomutt

Mon, 01 Aug 2016 15:23:12 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 01 Aug 2016 15:23:12 -0400
changeset 361
7ab7173fb61f
parent 359
b3c85390852b
child 364
dc8ef0de424d
permissions
-rwxr-xr-x

add autofmt toggle

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
312
2f0459c97d3e add build notes
Meredith Howard <mhoward@roomag.org>
parents: 311
diff changeset
4 echo "Requirements (on debian):"
321
12d8f50e80a9 fix deps
Meredith Howard <mhoward@roomag.org>
parents: 318
diff changeset
5 echo "autoconf libncursesw5-dev libssl-dev libtokyocabinet-dev libsasl2-dev"
312
2f0459c97d3e add build notes
Meredith Howard <mhoward@roomag.org>
parents: 311
diff changeset
6 echo "links"
2f0459c97d3e add build notes
Meredith Howard <mhoward@roomag.org>
parents: 311
diff changeset
7
290
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 cd
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 mkdir -p sandbox
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 if [ ! -d sandbox/neomutt ]; then
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 git clone https://github.com/neomutt/neomutt.git sandbox/neomutt
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 else
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 git -C sandbox/neomutt pull
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 fi
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
17 cd sandbox/neomutt
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19 ./prepare \
311
1912a7c57deb add sasl
Meredith Howard <mhoward@roomag.org>
parents: 302
diff changeset
20 --with-ssl --with-sasl \
302
3a25d9b124bc enable caches
Meredith Howard <mhoward@roomag.org>
parents: 293
diff changeset
21 --enable-hcache \
290
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
22 --enable-imap --enable-smtp \
293
7df7f79939f0 drop hcache, make default
Meredith Howard <mhoward@roomag.org>
parents: 291
diff changeset
23 --enable-sidebar >/dev/null
7df7f79939f0 drop hcache, make default
Meredith Howard <mhoward@roomag.org>
parents: 291
diff changeset
24
321
12d8f50e80a9 fix deps
Meredith Howard <mhoward@roomag.org>
parents: 318
diff changeset
25 make -s -j3
290
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
26
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
27 cd ~/bin
318
4ddeb168692b link pgpewrap too
Meredith Howard <mhoward@roomag.org>
parents: 312
diff changeset
28 ln -sf ../sandbox/neomutt/mutt
4ddeb168692b link pgpewrap too
Meredith Howard <mhoward@roomag.org>
parents: 312
diff changeset
29 ln -sf ../sandbox/neomutt/pgpewrap
290
6a140c2e1366 add build-neomutt
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
30

mercurial