aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mpop/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mpop/APKBUILD')
-rw-r--r--testing/mpop/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/mpop/APKBUILD b/testing/mpop/APKBUILD
new file mode 100644
index 0000000000..5ff61b7985
--- /dev/null
+++ b/testing/mpop/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: xcko <xcko@airmail.cc>
+# Maintainer: xcko <xcko@airmail.cc>
+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
+makedepends="gettext-dev gnutls-dev"
+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() {
+ 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"