From 3756f75d6fbfda0cfd741faf46bc6707c4b2ae16 Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Mon, 17 Jan 2011 21:33:20 -0800
Subject: libusb:Bumped to latest.

---
 abs/core/libusb/PKGBUILD | 30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)

diff --git a/abs/core/libusb/PKGBUILD b/abs/core/libusb/PKGBUILD
index 2c6b879..947361b 100644
--- a/abs/core/libusb/PKGBUILD
+++ b/abs/core/libusb/PKGBUILD
@@ -1,21 +1,25 @@
-# $Id: PKGBUILD 8698 2008-08-16 03:34:22Z eric $
-# Maintainer: arjan <arjan@archlinux.org>
+# $Id: PKGBUILD 101194 2010-11-28 15:05:41Z tpowa $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
 pkgname=libusb
-pkgver=0.1.12
-pkgrel=12
-depends=('gcc-libs')
-pkgdesc="Library to enable user space application programs to communicate with USB devices"
+pkgver=1.0.8
+pkgrel=1
+depends=('glibc')
+pkgdesc="Library to enable user space application programs to communicate with USB devices."
 arch=(i686 x86_64)
 url="http://libusb.sourceforge.net/"
 license=('LGPL')
-groups=('base')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('caf182cbc7565dac0fd72155919672e6')
+source=(http://downloads.sourceforge.net/libusb/libusb-${pkgver}.tar.bz2)
 options=(!libtool)
+replaces=(libusb1)
+md5sums=('37d34e6eaa69a4b645a19ff4ca63ceef')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/usr --disable-build-docs
-  make || return 1
-  make DESTDIR=$startdir/pkg install
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr 
+  make
+}
+
+package () {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
 }
-- 
cgit v0.12