# Contributor: xcko # Maintainer: xcko pkgname=mpop pkgver=1.4.6 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/mpop-$pkgver.tar.xz" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } package() { 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="f411d366aac73b4ed8ece23e72f34a08b2ef2c68d7c085768baddee89226937c33dcc457cbf3b07e017e724ca464e0f20de8709db992ed78bf9a313e94e1e244 mpop-1.4.6.tar.xz"