summaryrefslogtreecommitdiffstats
path: root/abs/extra/mutt/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:13:57 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:13:57 (GMT)
commitb172f79fadb565ecfbcec9508f9377d8618a4f4c (patch)
treebf8823b07e3313c3afa000a9b31e4f9a735cb818 /abs/extra/mutt/PKGBUILD
parentf9d54ab7c3853208484e304bc6cf40ab0f79d400 (diff)
parent5e7027c6194237ca1dc5fcbb3648483a970fb500 (diff)
downloadlinhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.zip
linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.tar.gz
linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.tar.bz2
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra/mutt/PKGBUILD')
-rw-r--r--abs/extra/mutt/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/abs/extra/mutt/PKGBUILD b/abs/extra/mutt/PKGBUILD
new file mode 100644
index 0000000..c481eec
--- /dev/null
+++ b/abs/extra/mutt/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 50055 2009-08-19 01:49:30Z thayer $
+# Maintainer: tobias [tobias [at] archlinux.org]
+pkgname=mutt
+pkgver=1.5.20
+pkgrel=2
+pkgdesc="A small but very powerful text-based mail client"
+arch=(i686 x86_64)
+license=('GPL')
+url="http://www.mutt.org/"
+depends=('slang' 'openssl>=0.9.8e' 'gdbm' 'mime-types' 'zlib' 'libsasl' 'gpgme')
+makedepends=('gnupg')
+install=${pkgname}.install
+source=(ftp://ftp.mutt.org/mutt/devel/${pkgname}-${pkgver}.tar.gz
+ mutt-unmailbox.patch)
+url="http://www.mutt.org/"
+md5sums=('027cdd9959203de0c3c64149a7ee351c'
+ 'fa8e03a49a2fa7b294dc8237d928cdb7')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ # patch a segfault bug in 1.5.20 -- remove for next release
+ patch -p1 < ${srcdir}/mutt-unmailbox.patch || return 1
+ #patch -Np1 -i ../mutt-unmailbox.patch || exit 1
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --enable-pop --enable-imap --enable-smtp \
+ --with-sasl --with-ssl=/usr --without-idn \
+ --enable-hcache --enable-pgp --enable-inodesort \
+ --enable-compressed --with-regex \
+ --enable-gpgme --with-slang=/usr
+ make || return 1
+ make DESTDIR=${pkgdir} install
+ rm -f ${pkgdir}/usr/bin/{flea,muttbug}
+ rm -f ${pkgdir}/usr/share/man/man1/{flea,muttbug}.1
+ rm -f ${pkgdir}/etc/mime.types*
+ install -Dm644 contrib/gpg.rc ${pkgdir}/etc/Muttrc.gpg.dist
+}
+