blob: becf0d768b94040754b2795a82f0d7fbbca03c20 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Andrew Manison<amanison@anselsystems.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mutt
pkgver=1.7.2
pkgrel=1
pkgdesc="a small but very powerful text-mode email client"
url="http://www.mutt.org"
arch="all"
license="GPL"
makedepends="cyrus-sasl-dev gdbm-dev gettext-dev gpgme-dev
libidn-dev ncurses-dev libressl-dev perl"
options="suid"
subpackages="$pkgname-doc $pkgname-lang"
source="https://bitbucket.org/$pkgname/$pkgname/downloads/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
ISPELL=/usr/bin/hunspell \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-imap \
--enable-pop \
--enable-smtp \
--enable-hcache \
--enable-gpgme \
--enable-sidebar \
--with-curses \
--with-mailpath=/var/spool/mail \
--with-docdir=/usr/share/doc/$pkgname \
--without-included-gettext \
--with-ssl \
--with-sasl \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
rm "$pkgdir"/etc/*.dist \
"$pkgdir"/etc/mime.types \
"$pkgdir"/usr/bin/muttbug \
"$pkgdir"/usr/bin/flea \
|| return 1
# Don't tamper with the global configuration file.
# Many options set in the global config cannot be
# overwritten in the users configuration file.
# Example: Resetting colors isn't possible.
install -Dm644 contrib/gpg.rc \
"$pkgdir"/etc/Muttrc.gpg.dist || return 1
}
md5sums="15425c4c9946d58c22ccb44901544e6d mutt-1.7.2.tar.gz"
sha256sums="1553501687cd22d5b8aaee4dc5a7d9dcf6cc61d7956f6aabaadd252d10cd5ff9 mutt-1.7.2.tar.gz"
sha512sums="5f13cbdf802bca80668b2f54bc66201d01bfe34c7f377b1bad88f8fa0e0c695264ff0bf6b64ae9bb6f5a3e22b6f096d2dd99fa36724937609f6f46e6a74da74e mutt-1.7.2.tar.gz"
|