aboutsummaryrefslogtreecommitdiffstats
path: root/testing/getmail/APKBUILD
blob: f68d69c5982a6c84abd918eafa29596b9af52813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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"