Subject: [alpine-aports] [PATCH] testing/courier-unicode: new aport

From: Edgar Pettijohn <[email-masked]>
Date: Thu, 4 Jan 2018 02:23:43 +0000

www.courier-mta.org/unicode/
courier unicode library

testing/maildrop: new aport

www.courier-mta.org/maildrop/
mail filter/delivery agent
---
 testing/maildrop/APKBUILD             | 37 +++++++++++++++++++++++++++++++++++
 testing/maildrop/maildrop.pre-install |  3 +++
 2 files changed, 40 insertions(+)
 create mode 100644 testing/maildrop/APKBUILD
 create mode 100644 testing/maildrop/maildrop.pre-install

diff --git a/testing/maildrop/APKBUILD b/testing/maildrop/APKBUILD
new file mode 100644
index 0000000000..4fc624e858
--- /dev/null
+++ b/testing/maildrop/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Edgar Pettijohn <[email-masked]>
+# Maintainer: Edgar Pettijohn <[email-masked]>
+pkgname=maildrop
+pkgver=2.9.3
+pkgrel=0
+pkgdesc="Mail filter/delivery agent."
+url="www.courier-mta.org/maildrop/index.html"
+arch="all"
+license="GNU"
+depends="courier-unicode"
+makedepends="courier-unicode courier-unicode-dev"
+install="$pkgname.pre-install"
+subpackages="$pkgname-doc"
+source="
+       http://downloads.sourceforge.net/project/courier/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2 
+       "
+builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+	cd "$builddir"
+	./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--localstatedir=/var \
+		--enable-use-flock \
+		--enable-tempdir=.tmp
+	make
+
+}
+
+package() {
+	make DESTDIR="$pkgdir" -C "$builddir" install
+
+	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="21e25a69516cfb330c1d9b5927db69487a31552346ccb1cb559ed65543da9dc7afd96c73ba8810961b09c3d4fdf3592e10de9d19bbca078ed7c2be7ef7e9fe52  maildrop-2.9.3.tar.bz2"
diff --git a/testing/maildrop/maildrop.pre-install b/testing/maildrop/maildrop.pre-install
new file mode 100644
index 0000000000..e64f1ee5cd
--- /dev/null
+++ b/testing/maildrop/maildrop.pre-install
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+mkdir -p /var/spool/mail
-- 
2.15.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---