blob: f1da74622a3892b21c751756109d46ac8eecc663 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# $Id: PKGBUILD 166981 2012-09-24 06:32:03Z bisson $
# Contributor: tobias [tobias [at] archlinux.org]
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=mutt
pkgver=1.5.21
pkgrel=7
pkgdesc='Small but very powerful text-based mail client'
url='http://www.mutt.org/'
license=('GPL')
backup=('etc/Muttrc')
arch=('i686' 'x86_64')
optdepends=('smtp-forwarder: to send mail')
depends=('gpgme' 'ncurses' 'openssl' 'libsasl' 'gdbm' 'libidn' 'mime-types' 'krb5')
source=("ftp://ftp.mutt.org/mutt/devel/${pkgname}-${pkgver}.tar.gz"
'1a4c43138685.patch')
sha1sums=('a8475f2618ce5d5d33bff85c0affdf21ab1d76b9'
'32dbcafe05e4a919fd00c6a1064c6ecd205e6eb1')
install=install
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -i ../1a4c43138685.patch # FS#31536
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-gpgme \
--enable-pop \
--enable-imap \
--enable-smtp \
--enable-hcache \
--with-curses=/usr \
--with-regex \
--with-gss=/usr \
--with-ssl=/usr \
--with-sasl \
--with-idn \
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
rm "${pkgdir}"/usr/bin/{flea,muttbug}
rm "${pkgdir}"/usr/share/man/man1/{flea,muttbug}.1
rm "${pkgdir}"/etc/mime.types{,.dist}
install -Dm644 contrib/gpg.rc "${pkgdir}"/etc/Muttrc.gpg.dist
}
|