# Contributor: Josh Chase # Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres pkgname=python2-sendfile _pkgname=py-sendfile pkgver=1.2.3 pkgrel=1 pkgdesc="pysendfile" url="http://code.google.com/p/pysendfile" license=('MIT') arch=('i686' 'x86_64') depends=('python2' 'setuptools') conflicts=() replaces=() backup=() source=("http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz") build() { cd $srcdir/$_pkgname-$pkgver python2 setup.py build python2 setup.py install --root=$pkgdir }