summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/pyusb/PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/abs/extra/pyusb/PKGBUILD b/abs/extra/pyusb/PKGBUILD
index 1922cd8..6ad9bc3 100644
--- a/abs/extra/pyusb/PKGBUILD
+++ b/abs/extra/pyusb/PKGBUILD
@@ -1,16 +1,18 @@
# Contributor: Jason Giangrande <jgiangrande@clarku.edu>
pkgname=pyusb
-pkgver=0.4.1
-pkgrel=1
+pkgver=0.4.3
+pkgrel=3
pkgdesc="A native Python module written in C which provides USB access."
arch=('i686' 'x86_64')
url="http://pyusb.berlios.de/"
license=('GPL')
-depends=('python' 'libusb')
-source=(http://downloads.sourceforge.net/pyusb/pyusb-$pkgver.tar.gz)
-md5sums=('9576c3e471e40e021fa44f36712bbd04')
+depends=('python2' 'libusb')
+makedepends=('python2-distribute')
+source=(http://downloads.sourceforge.net/project/pyusb/PyUSB%200.x/$pkgver/pyusb-$pkgver.tar.gz)
+md5sums=('a1a43bc6407caccbc22073c56439aa06')
build() {
- cd $startdir/src/$pkgname-$pkgver
- python setup.py install -f --root=$startdir/pkg || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python2 setup.py install -f --root="${pkgdir}" || return 1
}
+