From 07a73b8cb34aea6e5e274cff3874928186c4688f Mon Sep 17 00:00:00 2001 From: xcko Date: Sun, 19 May 2019 23:35:25 -0700 Subject: testing/mpop: new aport --- testing/mpop/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/mpop/APKBUILD 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 +# Maintainer: xcko +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" -- cgit v1.2.3