blob: 94078a12ea3aebdab8f43221e5fe7efb20ceb03f (
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
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=neomutt
pkgver=20170912
pkgrel=0
pkgdesc="Mutt with miscellaneous fixes and feature patches"
url="https://www.neomutt.org/"
arch="all"
license="GPL2"
depends="!mutt"
depends_dev=""
makedepends="automake autoconf cyrus-sasl-dev gdbm-dev gettext-dev
gpgme-dev libidn-dev ncurses-dev libressl-dev notmuch-dev
bsd-compat-headers"
install=""
subpackages="$pkgname-doc $pkgname-lang"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/$pkgname-$pkgver.tar.gz
Makefile-am.patch"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
prepare() {
default_prepare
cd "$builddir"
autoreconf -vfi
}
build() {
cd "$builddir"
./configure -enable-notmuch -enable-gpgme \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--with-docdir=/usr/share/doc/$pkgname \
--with-mailpath=/var/spool/mail \
--with-gdbm \
--with-ssl \
--with-sasl
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 contrib/gpg.rc \
"$pkgdir"/usr/share/doc/$pkgname/examples/Muttrc.gpg
}
sha512sums="7551da47029667443257d9d370af7217846abf988d1469c4e08f367ef0bce2dfb658321df27176622bbd07e6d46c320380749d4ce05ee39cb1e8d9b6c3e1d7e6 neomutt-20170912.tar.gz
74f38efb63d63e222d351c20624830b4beea122a4d530f8100bddf38821d56d1a6f0017330b167451f1eae5a612e23b08676371352230da28d512e99e77ffe56 Makefile-am.patch"
|