blob: bd10566db6d80e722b7116966281bba5a6025bdd (
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
|
# Maintainer (Arch): Chris Salzberg <chris@dejimata.com>
pkgname=neomutt
pkgver=20170206
pkgrel=1
pkgdesc='The New Mutt: powerful text-based mail client with all the best feature patches'
url='http://www.neomutt.org/'
license=('GPL')
source=("https://github.com/neomutt/neomutt/archive/neomutt-$pkgver.tar.gz")
md5sums=('e3d67be3d63a1fd55c249649dfbed1cb')
arch=('i686' 'x86_64')
depends=('openssl' 'gdbm' 'mime-types' 'libsasl' 'gnupg' 'gpgme' 'libidn' 'krb5' 'notmuch-runtime')
optdepends=('urlview: for url menu')
makedepends=('git' 'gnupg' 'libxslt')
conflicts=('mutt')
provides=('mutt')
build() {
cd $srcdir
mv "$pkgname-neomutt-$pkgver" "$pkgname-$pkgver"
cd "$pkgname-$pkgver"
# Configure the build.
./prepare \
--prefix=/usr \
--sysconfdir=/etc \
--enable-debug \
--enable-pgp \
--enable-gpgme \
--enable-notmuch \
--enable-pop \
--enable-imap \
--enable-smtp \
--enable-sidebar \
--enable-compressed \
--with-gss=/usr \
--with-ssl=/usr \
--with-sasl \
--with-curses=/usr \
--with-regex \
--with-idn \
--with-gdbm
# Build it!
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
# Install the program.
make DESTDIR="$pkgdir" install
# Cruft we don't want.
rm "${pkgdir}"/etc/mime.types{,.dist}
}
# vim: ft=sh ts=2 sw=2 et
|