aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxcko <xcko@airmail.cc>2019-05-19 23:35:25 -0700
committerMilan P. Stanić <mps@arvanta.net>2019-06-05 13:50:56 +0200
commit07a73b8cb34aea6e5e274cff3874928186c4688f (patch)
tree74b16a8220ab35a45180254111d05e56b5619acb
parent73a47947ebc03fbbaafa1ee80ee2493346e18cb8 (diff)
downloadaports-07a73b8cb34aea6e5e274cff3874928186c4688f.tar.bz2
aports-07a73b8cb34aea6e5e274cff3874928186c4688f.tar.xz
testing/mpop: new aport
-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"