# Contributor: Andrew Hills # Maintainer: Andrew Hills pkgname=imapfilter pkgver=2.6.12 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/$pkgname/archive/v${pkgver}.tar.gz " builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" make PREFIX=/usr all } package() { cd "$_builddir" make \ PREFIX=/usr \ MANDIR=/usr/share/man \ DESTDIR="$pkgdir" \ install } sha512sums="1425041c288ac46833af6119fd0169cf783a1fec61bf07dfad6f732ec74834ec3beb4e81c3b19f7436310324d9a4369c4ec61aa3a83eef203d7897ea0fc26528 imapfilter-2.6.12.tar.gz"