aboutsummaryrefslogtreecommitdiffstats
path: root/testing/imapfilter/APKBUILD
blob: 45259cb0ce91865b14a58405ae0bbcf64e24ea5a (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.16
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="0500931143e593eb69357ef6a6a40be971abadd22d7e807685b88927da8db9a928470f5cad460252b95ccd42efcfd39b5c4001a8796fa79cbd35018405a7be19  imapfilter-2.6.16.tar.gz"