Date: Sunday, November 28, 2010 @ 10:05:41 Author: tpowa Revision: 101194
upgpkg: libusb 1.0.8-1 upgrade to 1.x series Modified: libusb/trunk/PKGBUILD ----------+ PKGBUILD | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-11-28 14:37:33 UTC (rev 101193) +++ PKGBUILD 2010-11-28 15:05:41 UTC (rev 101194) @@ -1,26 +1,25 @@ # $Id$ -# Maintainer: Tobias Powalowski <tp...@archlinux.org> -# Contributor: arjan <ar...@archlinux.org> - +# Maintainer: Jan de Groot <j...@archlinux.org> pkgname=libusb -pkgver=0.1.12 -pkgrel=5 -pkgdesc="Library to enable user space application programs to communicate with USB devices" -arch=('i686' 'x86_64') -depends=('gcc-libs' 'sh') +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') -source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) -md5sums=('caf182cbc7565dac0fd72155919672e6') -options=('!libtool') +source=(http://downloads.sourceforge.net/libusb/libusb-${pkgver}.tar.bz2) +options=(!libtool) +replaces=(libusb1) +md5sums=('37d34e6eaa69a4b645a19ff4ca63ceef') build() { - cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/usr --disable-build-docs + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr make } -package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install +package () { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install }