diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/imapfilter/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/imapfilter/APKBUILD b/testing/imapfilter/APKBUILD new file mode 100644 index 0000000000..2beb7e234c --- /dev/null +++ b/testing/imapfilter/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Andrew Hills <ahills@ednos.net> +# Maintainer: Andrew Hills <ahills@ednos.net> +pkgname=imapfilter +pkgver=2.5.7 +pkgrel=0 +pkgdesc="Lua-based filtering for IMAP mailboxes" +url="https://github.com/lefcha/imapfilter" +arch="all" +license="MIT" +depends="pcre openssl lua libcrypto1.0" +depends_dev= +makedepends="$depends_dev lua-dev openssl-dev pcre-dev libc-dev" +install= +subpackages="$pkgname-doc" +source="saveas-https://github.com/lefcha/$pkgname/archive/v${pkgver}.tar.gz/$pkgname-$pkgver.tar.gz" + + +_builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$_builddir" + make PREFIX=/usr all || return 1 +} + +package() { + cd "$_builddir" + make \ + PREFIX=/usr \ + MANDIR=/usr/share/man \ + DESTDIR="$pkgdir" \ + install +} +md5sums="5af01afcca4a24b46f113f36bc3eaef8 imapfilter-2.5.7.tar.gz" +sha256sums="c792d6a3a187cdc14fc38470837b45722a3750dabd2c6f71672806eeef79fad0 imapfilter-2.5.7.tar.gz" +sha512sums="9297e98812312fbf2c92aa5477bdfecb522048e45b4bc4922e312bd89a72b020a98f5547e3f0882ae665c24db21e6995eda839b762947adc48bc413ab0c882f1 imapfilter-2.5.7.tar.gz" |