X-Git-Url: https://git.armaanb.net/?p=asd-repo.git;a=blobdiff_plain;f=junk%2Fmutt%2Fbuild;fp=junk%2Fmutt%2Fbuild;h=4398e11c565fc72ae1adf1243ce138ab44df9bdd;hp=0000000000000000000000000000000000000000;hb=e7778f9c71891072ff904d344fd186977bda3e1b;hpb=115f60d82f00b7e3bf89d668b085d5cd645e4c88 diff --git a/junk/mutt/build b/junk/mutt/build new file mode 100755 index 0000000..4398e11 --- /dev/null +++ b/junk/mutt/build @@ -0,0 +1,21 @@ +#!/bin/sh -e + +sed -i 's/doc //g' Makefile.in + +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-smtp \ + --with-ssl \ + --with-sasl \ + --disable-doc + +make +make DESTDIR="$1" install + +rm -f "$1/etc/mime.types" "$1/etc/Mutt*" + +for i in *.1 *.5; do + section="$(printf "$i" | cut -d '.' -f 3)" + install -Dm644 "$i" "$1/usr/share/man/man$section/$i" +done