summaryrefslogtreecommitdiff
path: root/pcr/python2-sendfile/PKGBUILD
blob: 714e8e07e11a3a84c0460f6c68b0a3a76bc9aac1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Contributor: Axilleas Pipinellis <axilleas@archlinux.info>
# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>

pkgname=python2-sendfile
_pkgname=pysendfile
pkgver=2.0.0
pkgrel=2
pkgdesc="A Python interface to sendfile(2)"
url="http://code.google.com/p/pysendfile/"
license=('MIT')
arch=('i686' 'x86_64')
depends=('python2')
makedepends=('python2-distribute')
source=("https://pypi.python.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz")

package() {
	cd $srcdir/$_pkgname-$pkgver
	python2 setup.py install --root=$pkgdir --optimize=1
	}

# vim:set ts=2 sw=2 et: