summaryrefslogtreecommitdiff
path: root/source/n/mutt
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/mutt')
-rwxr-xr-xsource/n/mutt/mutt.SlackBuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/source/n/mutt/mutt.SlackBuild b/source/n/mutt/mutt.SlackBuild
index 01293eb8..e4623891 100755
--- a/source/n/mutt/mutt.SlackBuild
+++ b/source/n/mutt/mutt.SlackBuild
@@ -23,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=mutt
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -74,6 +74,7 @@ CFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/mutt-$VERSION \
--with-docdir=/usr/doc/mutt-$VERSION \
--sysconfdir=/etc/mutt \
+ --infodir=/usr/info \
--with-mailpath=/var/spool/mail \
--enable-pop \
--enable-imap \
@@ -110,6 +111,14 @@ if [ -d $PKG/usr/man ]; then
)
fi
+# Compress info files, if any:
+if [ -d $PKG/usr/info ]; then
+ ( cd $PKG/usr/info
+ rm -f dir
+ gzip -9 *
+ )
+fi
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh