aboutsummaryrefslogtreecommitdiffstats
path: root/testing/imapfilter/APKBUILD
blob: 6b36cd118ae78a23bfae721c803aee5f884d87bb (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
# Contributor: Andrew Hills <ahills@ednos.net>
# Maintainer: Andrew Hills <ahills@ednos.net>
pkgname=imapfilter
pkgver=2.6.15
pkgrel=0
pkgdesc="Lua-based filtering for IMAP mailboxes"
url="https://github.com/lefcha/imapfilter"
arch="all"
license="MIT"
makedepends="$depends_dev lua-dev openssl-dev pcre-dev libc-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/lefcha/imapfilter/archive/v$pkgver.tar.gz"

build() {
	cd "$_builddir"
	make PREFIX=/usr all
}

package() {
	cd "$_builddir"
	make \
		PREFIX=/usr \
		MANDIR=/usr/share/man \
		DESTDIR="$pkgdir" \
		install
}
sha512sums="13bc962311f08f96af599b020ae0a1f3e7c7fd82507002898aa57f8b71fc44920186e35a45a3e969a44c673f386ee80a91b242e3df018034238c8ed262ef5e1c  imapfilter-2.6.15.tar.gz"