2019-08-20 19:57:13 -03:00

28 lines
950 B
Plaintext

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=getmail
pkgver=5.14
pkgrel=0
pkgdesc="POP3, IMAP4, and SDPS mail retriever with Maildir delivery"
url="http://pyropus.ca/software/getmail/"
arch="noarch"
license="GPL-2.0-only"
depends="python2"
makedepends="python2-dev"
subpackages="$pkgname-doc"
options="!check" # contains no tests
source="http://pyropus.ca/software/getmail/old-versions/getmail-$pkgver.tar.gz"
build() {
python2 setup.py build
}
package() {
python2 setup.py install --prefix=/usr --root="$pkgdir"
# fix some broken shebang calls
sed -i -e "s|#![ ]*/usr/bin/env python2\.3|#!/usr/bin/env python2|" $(find $pkgdir -name '*.py')
}
sha512sums="0646864af56fc044525d38088164c2c026a8f29b231c25c9cfe9aa922b1e5170cf49c63874da9bd593b49be6ed822bd4da7ea4ebfbb59cfa6e1658e2b565c184 getmail-5.14.tar.gz"