Date: Friday, November 19, 2010 @ 10:20:43 Author: andrea Revision: 99942
upgpkg: libusb 0.1.12-5 use package(); remove from base group; switch to tar.xz Modified: libusb/trunk/PKGBUILD ----------+ PKGBUILD | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-11-19 15:14:44 UTC (rev 99941) +++ PKGBUILD 2010-11-19 15:20:43 UTC (rev 99942) @@ -1,22 +1,26 @@ # $Id$ -# Maintainer: +# Maintainer: Tobias Powalowski <tp...@archlinux.org> # Contributor: arjan <ar...@archlinux.org> pkgname=libusb pkgver=0.1.12 -pkgrel=4 +pkgrel=5 pkgdesc="Library to enable user space application programs to communicate with USB devices" arch=('i686' 'x86_64') depends=('gcc-libs' 'sh') url="http://libusb.sourceforge.net/" license=('LGPL') -source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) md5sums=('caf182cbc7565dac0fd72155919672e6') options=('!libtool') build() { - cd $srcdir/$pkgname-$pkgver + cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --disable-build-docs - make || return 1 - make DESTDIR=$pkgdir install + make } + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +}