[arch-commits] Commit in python-libusb1/repos (community-any community-any/PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Tue Aug 4 18:57:03 UTC 2020


    Date: Tuesday, August 4, 2020 @ 18:57:03
  Author: ffy00
Revision: 669025

archrelease: copy trunk to community-any

Added:
  python-libusb1/repos/community-any/
  python-libusb1/repos/community-any/PKGBUILD
    (from rev 669024, python-libusb1/trunk/PKGBUILD)

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

Copied: python-libusb1/repos/community-any/PKGBUILD (from rev 669024, python-libusb1/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-08-04 18:57:03 UTC (rev 669025)
@@ -0,0 +1,28 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at 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:


More information about the arch-commits mailing list