aboutsummaryrefslogtreecommitdiffstats
path: root/testing/neomutt/APKBUILD
blob: c15abc8172288fbb89ab23688a97fd0821a09fce (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=neomutt
pkgver=20180716
pkgrel=3
pkgdesc="Mutt with miscellaneous fixes and feature patches"
url="https://neomutt.org/"
arch="all"
license="GPL-2.0-or-later"
makedepends="cyrus-sasl-dev gdbm-dev gettext-dev gpgme-dev libidn-dev
	ncurses-dev openssl-dev notmuch-dev bsd-compat-headers libxslt tcl
	docbook-xsl perl w3m"
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"

build() {
	./configure \
		--notmuch \
		--gpgme \
		--gdbm \
		--ssl \
		--sasl
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	install -Dm644 contrib/gpg.rc \
		"$pkgdir"/usr/share/doc/$pkgname/examples/Muttrc.gpg
}

sha512sums="ee4093217cc1409262b96ab33ed78a38f5c6a72f62fcd7b25027f9373687ce67af8a4e1793b1d7d843bee5b4a7e0c69b30b3badf88a4e1a8fadd8b21441faaae  neomutt-20180716.tar.gz"