From 841812eb8b3d94f5d26310b035894ecbc2bc2a7c Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 10 Feb 2016 23:19:41 +0000
Subject: libusb: rename from libusbx update to 1.0.20

---
 abs/core/libusb/PKGBUILD  | 31 +++++++++++++++++++++++++++++++
 abs/core/libusbx/PKGBUILD | 32 --------------------------------
 2 files changed, 31 insertions(+), 32 deletions(-)
 create mode 100644 abs/core/libusb/PKGBUILD
 delete mode 100644 abs/core/libusbx/PKGBUILD

diff --git a/abs/core/libusb/PKGBUILD b/abs/core/libusb/PKGBUILD
new file mode 100644
index 0000000..01b8d34
--- /dev/null
+++ b/abs/core/libusb/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+
+pkgname=libusb
+pkgver=1.0.20
+pkgrel=1
+pkgdesc='Library that provides generic access to USB devices'
+arch=('i686' 'x86_64')
+url='http://libusb.info/'
+license=('LGPL')
+depends=('glibc' 'systemd')
+replaces=('libusb1' 'libusbx')
+provides=("libusbx=$pkgver")
+conflicts=('libusbx')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('1d4eb194eaaa2bcfbba28102768c7dbf')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make -j1
+}
+
+check() {
+  make -C $pkgname-$pkgver check
+}
+
+package () {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+}
diff --git a/abs/core/libusbx/PKGBUILD b/abs/core/libusbx/PKGBUILD
deleted file mode 100644
index 2c2795f..0000000
--- a/abs/core/libusbx/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 162758 2012-06-29 16:50:44Z tpowa $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
-pkgname=libusbx
-pkgver=1.0.12
-pkgrel=2
-depends=('glibc')
-pkgdesc="Library that provides generic access to USB device"
-arch=(i686 x86_64)
-url="http://libusbx.org"
-license=('LGPL')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-options=(!libtool)
-replaces=('libusb1' 'libusb')
-provides=("libusb=$pkgver")
-conflicts=("libusb")
-md5sums=('c41352ac755c7992edfcbb2ea4ad1349')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --disable-static
-  make
-}
-
-check() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make check
-}
-
-package () {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-}
-- 
cgit v0.12

