archrelease: copy trunk to community-any
[arch-community.git] / python-libusb1 / trunk / PKGBUILD
blob929ddc6bbfc02b4ef63018b2fe1bcfdaa4e5f5df
1 # Maintainer: Filipe LaĆ­ns (FFY00) <lains@archlinux.org>
3 _pkgname=libusb1
4 pkgname=python-$_pkgname
5 pkgver=3.0.0
6 pkgrel=2
7 pkgdesc='Python ctype-based wrapper around libusb1'
8 arch=('any')
9 url='https://github.com/vpelletier/python-libusb1'
10 license=('LGPL2.1')
11 depends=('python' 'libusb')
12 makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
13 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
14 sha512sums=('7812dc4a22fc277f9791fb7050aa0a9c3953d1d3b386bb848380026a036a09bdff7745163eab07f5b70f919cb45ea4cd14f212f9e065dee670afee97a458de9d')
16 build() {
17   cd $pkgname-$pkgver
19   python -m build -nw
22 package() {
23   cd $pkgname-$pkgver
25   python -m installer -d "$pkgdir" dist/*.whl
28 # vim:set ts=2 sw=2 et: