1 # Maintainer: Tim Hatch <tim@timhatch.com>
2 # Contributor: Jason Giangrande <jgiangrande@clarku.edu>
9 pkgdesc="A native Python module written in C which provides USB access."
10 arch=('i686' 'x86_64')
11 url="http://pyusb.berlios.de/"
13 depends=('python2' 'libusb')
15 source=("http://downloads.sourceforge.net/project/${_name}/PyUSB%201.0/1.0.0-alpha-2/pyusb-1.0.0a2.tar.gz")
16 md5sums=('9136b3dc019272c62a5b6d4eb624f89f')
17 optdepends=('libusb-beta: libusb 1.0 api')
20 cd $startdir/src/$_name-$_realver
21 python2 setup.py install -f --root=$startdir/pkg || return 1