From 71bb28df7bb070bb8e0b22d5f1e17249b004e73e Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 30 May 2016 18:40:33 -0300 Subject: python-libusb1: add new package to [pcr] - Packaging request #985 -> https://labs.parabola.nu/issues/985 --- pcr/python-libusb1/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pcr/python-libusb1/PKGBUILD (limited to 'pcr/python-libusb1/PKGBUILD') diff --git a/pcr/python-libusb1/PKGBUILD b/pcr/python-libusb1/PKGBUILD new file mode 100644 index 000000000..a6576e2b5 --- /dev/null +++ b/pcr/python-libusb1/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer (Arch): vorpalblade77@gmail.com +pkgname=python-libusb1 +_pkgname=libusb1 +pkgver=1.5.0 +pkgrel=1 +pkgdesc="Pure python wrapper for libusb" +arch=('any') +url="https://github.com/vpelletier/${pkgname}" +license=('GPL2') +makedepends=('git' 'python-distutils-extra' 'python-setuptools') +depends=('python' 'libusbx') +optdepends=() +conflicts=("${pkgname}-git") +changelog='changelog.txt' +source=("git+https://github.com/vpelletier/${pkgname}.git") +md5sums=('SKIP') + +build() { + cd "${srcdir}/${pkgname}" + python setup.py build +} + +package() { + cd "${srcdir}/${pkgname}" + python setup.py install --root="${pkgdir}" \ + --prefix="/usr" \ + --compile -O1 +} -- cgit v1.2.3