summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/mutt
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-01 18:26:09 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-01 18:26:22 (GMT)
commite2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37 (patch)
treebee3fe89f2988dd244e11791755e129aa8c03b14 /abs/not_built/extra/mutt
parent8132c218cfc1f1acb1c6d12154e0d4ca075e77f2 (diff)
downloadlinhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.zip
linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.gz
linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.bz2
Mass move of uncompiled packages to abs_not_built.
The will sit here for a bit, and then will be removed completely if no one claims them.
Diffstat (limited to 'abs/not_built/extra/mutt')
-rw-r--r--abs/not_built/extra/mutt/PKGBUILD39
-rw-r--r--abs/not_built/extra/mutt/mutt-unmailbox.patch10
-rw-r--r--abs/not_built/extra/mutt/mutt.install15
3 files changed, 64 insertions, 0 deletions
diff --git a/abs/not_built/extra/mutt/PKGBUILD b/abs/not_built/extra/mutt/PKGBUILD
new file mode 100644
index 0000000..c481eec
--- /dev/null
+++ b/abs/not_built/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
+}
+
diff --git a/abs/not_built/extra/mutt/mutt-unmailbox.patch b/abs/not_built/extra/mutt/mutt-unmailbox.patch
new file mode 100644
index 0000000..cbb3210
--- /dev/null
+++ b/abs/not_built/extra/mutt/mutt-unmailbox.patch
@@ -0,0 +1,10 @@
+--- a/buffy.c 2009-08-10 08:23:12.731846990 -0400
++++ b/buffy.c 2009-08-10 08:23:50.541878087 -0400
+@@ -236,7 +236,6 @@
+ {
+ if(*tmp)
+ {
+- FREE (&((*tmp)->path));
+ tmp1=(*tmp)->next;
+ FREE (tmp); /* __FREE_CHECKED__ */
+ *tmp=tmp1;
diff --git a/abs/not_built/extra/mutt/mutt.install b/abs/not_built/extra/mutt/mutt.install
new file mode 100644
index 0000000..98ece96
--- /dev/null
+++ b/abs/not_built/extra/mutt/mutt.install
@@ -0,0 +1,15 @@
+# arg 1: the new package version
+post_install() {
+ cat << EOM
+
+--> to support gpg, please use the following line in your ~/.muttrc
+
+source /etc/Muttrc.gpg.dist
+
+EOM
+}
+
+post_upgrade() {
+ post_install $1
+}
+