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

From: xcko <[email-masked]>
Date: Sun, 19 May 2019 23:35:25 -0700

https://marlam.de/mpop
retrieves mail from pop3 mailboxes
---
 testing/mpop/APKBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 testing/mpop/APKBUILD

diff --git a/testing/mpop/APKBUILD b/testing/mpop/APKBUILD
new file mode 100644
index 0000000000..ecadd120f3
--- /dev/null
+++ b/testing/mpop/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: xcko <[email-masked]>
+# Maintainer: xcko <[email-masked]>
+pkgname=mpop
+pkgver=1.4.4
+pkgrel=0
+pkgdesc="retrieves mail from pop3 mailboxes"
+url="https://marlam.de/mpop"
+arch="all"
+license="GPL-3.0-or-later"
+options="!check" # no test suite
+depends=""
+makedepends="gettext-dev gnutls-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang $pkgname-vim:vim:noarch"
+source="https://marlam.de/mpop/releases/$pkgname-$pkgver.tar.xz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+	cd "$builddir"
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--localstatedir=/var
+	make
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+
+vim() {
+	depends=""
+	pkgdesc="Vim syntax for $pkgname"
+
+	install -Dm644 "$builddir"/scripts/vim/$pkgname.vim \
+		"$subpkgdir"/usr/share/vim/vimfiles/syntax/$pkgname.vim
+}
+
+sha512sums="1ed89108d35d7bbd6bcbd6de956f51cfcfaefd808f6aa7135b168d789f8cbe7070be9db676d1222dce5b6fe8b6692616d6b7adec9c23df11ac3de112897924da  mpop-1.4.4.tar.xz"
-- 
2.20.1

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