blob: 69dcbd42eb7b1a7f1093e1651834fc6e81ed071d (
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
28
29
30
31
32
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=getmail
pkgver=4.50.0
pkgrel=0
pkgdesc="POP3, IMAP4, and SDPS mail retriever with Maildir delivery"
url="http://pyropus.ca/software/getmail/"
arch="noarch"
license="GPL2"
depends="python2"
depends_dev=""
makedepends="python2-dev"
install=""
subpackages="$pkgname-doc"
source="http://pyropus.ca/software/getmail/old-versions/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
python2 setup.py build || return 1
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
# fix some broken shebang calls
sed -i -e "s|#![ ]*/usr/bin/env python2\.3|#!/usr/bin/env python2|" $(find $pkgdir -name '*.py')
}
md5sums="4c31fdefbad549768227b35193ead908 getmail-4.50.0.tar.gz"
sha256sums="fcbc77b9a14a2798a50725af9488d292bc97e983997947df1b9dcd9a0e288bc1 getmail-4.50.0.tar.gz"
sha512sums="f8484fe907e82bd96abc6fea9e824a51608450921020d18522c6da00ddc5f0c1a2f9be0a534d1451830174d33e526e956a1bba9b7e9f2c987f765547848317c9 getmail-4.50.0.tar.gz"
|