updated on Fri Jan 20 04:00:45 UTC 2012
[aur-mirror.git] / pyusb10 / PKGBUILD
blob6910e0268a85bf8bde906893bf30d8143373cfcd
1 # Maintainer: Tim Hatch <tim@timhatch.com>
2 # Contributor: Jason Giangrande <jgiangrande@clarku.edu>
4 pkgname=pyusb10
5 _name=pyusb
6 pkgver=1.0.0_a2
7 _realver=${pkgver/_/}
8 pkgrel=1
9 pkgdesc="A native Python module written in C which provides USB access."
10 arch=('i686' 'x86_64')
11 url="http://pyusb.berlios.de/"
12 license=('GPL')
13 depends=('python2' 'libusb')
14 conflicts=('pyusb')
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')
19 build() {
20         cd $startdir/src/$_name-$_realver
21         python2 setup.py install -f --root=$startdir/pkg || return 1