Date: Monday, April 11, 2011 @ 13:11:59 Author: andyrtr Revision: 119462
upgpkg: getmail 4.20.2-1 upstream update 4.20.2 Modified: getmail/trunk/PKGBUILD ----------+ PKGBUILD | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-04-11 16:52:32 UTC (rev 119461) +++ PKGBUILD 2011-04-11 17:11:59 UTC (rev 119462) @@ -3,18 +3,25 @@ # Committer: Manolis Tzanidakis <[email protected]> pkgname=getmail -pkgver=4.20.0 -pkgrel=2 +pkgver=4.20.2 +pkgrel=1 pkgdesc="A POP3 mail retriever with reliable Maildir and command delivery." arch=(any) url="http://pyropus.ca/software/getmail" -license="GPL" +license=("GPL") depends=('python2') source=(http://pyropus.ca/software/getmail/old-versions/$pkgname-$pkgver.tar.gz) -md5sums=('33a090d62b6039e0a8df4c3da545d851') +md5sums=('a4f379a88ec18d0ab3f4860c2f213e36') build() { cd ${srcdir}/${pkgname}-${pkgver} python2 setup.py build +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} python2 setup.py install --root=${pkgdir} + # fix some broken shebang calls + sed -i -e "s|#![ ]*/usr/bin/env python|#!/usr/bin/env python2|" $pkgdir/usr/lib/python2.7/site-packages/getmailcore/__init__.py + sed -i -e "s|#![ ]*/usr/bin/env python2.3|#!/usr/bin/env python2|" $(find $pkgdir -name '*.py') }
