From 1e161b8a5cd0c40d50951579e9dd77934411bdfd Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 25 Apr 2018 13:16:39 +0000
Subject: libusb: update to 1.0.22

---
 abs/core/libusb/PKGBUILD | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/abs/core/libusb/PKGBUILD b/abs/core/libusb/PKGBUILD
index 2702179..3a092d4 100644
--- a/abs/core/libusb/PKGBUILD
+++ b/abs/core/libusb/PKGBUILD
@@ -3,23 +3,24 @@
 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
 
 pkgname=libusb
-pkgver=1.0.21
+pkgver=1.0.22
 pkgrel=1
 pkgdesc='Library that provides generic access to USB devices'
-arch=('i686' 'x86_64')
+arch=(x86_64)
 url='http://libusb.info/'
-license=('LGPL')
-depends=('glibc' 'systemd')
-replaces=('libusb1' 'libusbx')
-provides=("libusbx=$pkgver")
-conflicts=('libusbx')
+license=(LGPL)
+depends=(glibc libsystemd)
+makedepends=(systemd)
+replaces=(libusb1 libusbx)
+provides=("libusbx=$pkgver" libusb-1.0.so)
+conflicts=(libusbx)
 source=(https://github.com/libusb/libusb/releases/download/v$pkgver/libusb-$pkgver.tar.bz2)
-md5sums=('1da9ea3c27b3858fa85c5f4466003e44')
+md5sums=('466267889daead47674df933cea9cacb')
 
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr
-  make -j1
+  make
 }
 
 check() {
-- 
cgit v0.12

