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
|
# Maintainer: Justin Gassner <justin.gassner@web.de>
_pkgname=mutt
pkgname=$_pkgname-jxir
pkgver=1.11.1
pkgrel=1
pkgdesc='Small but very powerful text-based mail client'
arch=('x86_64')
url='http://www.mutt.org'
license=('GPL')
depends=('gpgme' 'libidn' 'ncurses')
source=("http://ftp.mutt.org/pub/mutt/$_pkgname-$pkgver.tar.gz"{,.asc})
sha256sums=('705141013662e53b78e49ed545360281f30a09ddda908f4de733277a60b1db05'
'SKIP')
validpgpkeys=('8975A9B33AA37910385C5308ADEF768480316BDA') # Kevin McCarthy
build() {
cd "$srcdir/$_pkgname-$pkgver"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-gpgme \
--disable-pgp \
--enable-sidebar \
--enable-hcache \
--disable-nls \
--disable-full-doc \
--with-curses=/usr \
--with-regex
make
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
make DESTDIR="$pkgdir" install
rm "$pkgdir"/etc/Muttrc.dist
rm "$pkgdir"/etc/mime.types{,.dist}
rm "$pkgdir"/usr/share/man/man1/pgpewrap.1
rm -r "$pkgdir"/usr/share/doc/mutt/samples/
rm "$pkgdir"/usr/share/doc/mutt/{applying-patches.txt,devel-notes.txt,patch-notes.txt,PGP-Notes.txt,smime-notes.txt}
rm "$pkgdir"/usr/share/doc/mutt/{ChangeLog,COPYRIGHT,GPL,INSTALL,NEWS,README,README.SECURITY,README.SSL,TODO}
rm "$pkgdir"/usr/share/doc/mutt/{manual.txt,manual.html}
}
|