diff options
Diffstat (limited to 'core/libusb')
-rw-r--r-- | core/libusb/PKGBUILD | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/core/libusb/PKGBUILD b/core/libusb/PKGBUILD index 2dabc1e4b..0c75ae162 100644 --- a/core/libusb/PKGBUILD +++ b/core/libusb/PKGBUILD @@ -1,31 +1,31 @@ -# $Id: PKGBUILD 206056 2014-02-16 12:47:08Z tpowa $ -# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# $Id: PKGBUILD 215304 2014-06-19 12:33:36Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> +# Contributor: Tobias Powalowski <tpowa@archlinux.org> + pkgname=libusb -pkgver=1.0.18 +pkgver=1.0.19 pkgrel=1 -depends=('glibc' 'systemd') -pkgdesc="Library that provides generic access to USB device" -arch=(i686 x86_64) -url="http://libusbx.org" +pkgdesc='Library that provides generic access to USB devices' +arch=('i686' 'x86_64') +url='http://libusb.info/' license=('LGPL') -source=(http://downloads.sourceforge.net/${pkgname}/releases/${pkgver}/${pkgname}-${pkgver}.tar.bz2) +depends=('glibc' 'systemd') replaces=('libusb1' 'libusbx') provides=("libusbx=$pkgver") -conflicts=("libusbx") -md5sums=('4a6d049923efc6496f1d383054dac1a6') +conflicts=('libusbx') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2) +md5sums=('f9e2bb5879968467e5ca756cb4e1fa7e') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $pkgname-$pkgver ./configure --prefix=/usr --disable-static make } check() { - cd "${srcdir}/${pkgname}-${pkgver}" - make check + make -C $pkgname-$pkgver check } package () { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + make -C $pkgname-$pkgver DESTDIR="$pkgdir" install } |