diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-18 22:25:51 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-18 22:25:51 (GMT) |
commit | 0c1243696d6c90613d56a517017f4e01f55c5ecf (patch) | |
tree | c5ee37450f9803643d10fe9d3ca1e1f14da43ae7 /abs/extra/pyusb/PKGBUILD | |
parent | d6c60dcc3df1cc99b2bd0f6cf2342a2cb70a457d (diff) | |
download | linhes_pkgbuild-0c1243696d6c90613d56a517017f4e01f55c5ecf.zip linhes_pkgbuild-0c1243696d6c90613d56a517017f4e01f55c5ecf.tar.gz linhes_pkgbuild-0c1243696d6c90613d56a517017f4e01f55c5ecf.tar.bz2 |
pyusb: update
Diffstat (limited to 'abs/extra/pyusb/PKGBUILD')
-rw-r--r-- | abs/extra/pyusb/PKGBUILD | 16 |
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 } + |