Date: Tuesday, August 4, 2020 @ 18:56:55
  Author: ffy00
Revision: 669024

upgpkg: python-libusb1 1.8-1

Added:
  python-libusb1/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-08-04 18:56:55 UTC (rev 669024)
@@ -0,0 +1,28 @@
+# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org>
+
+_pkgname=libusb1
+pkgname=python-$_pkgname
+pkgver=1.8
+pkgrel=1
+pkgdesc='Python ctype-based wrapper around libusb1'
+arch=('any')
+url='https://github.com/vpelletier/python-libusb1'
+license=('LGPL2.1')
+depends=('python' 'libusb')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('2ab63ac4ce571812e5d1b15aff33728a19427051577c53b6eac6d53d53445be25a8abbd79ac71e4362405e31f0c76fc7b5f6fdc893debd5aa9de319e83d57664')
+
+build() {
+  cd $pkgname-$pkgver
+
+  python setup.py build
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to