diff options
Diffstat (limited to 'core/libusb-compat/PKGBUILD')
-rw-r--r-- | core/libusb-compat/PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/core/libusb-compat/PKGBUILD b/core/libusb-compat/PKGBUILD index 2391c2cbd..ff8b34a8b 100644 --- a/core/libusb-compat/PKGBUILD +++ b/core/libusb-compat/PKGBUILD @@ -1,26 +1,27 @@ -# $Id: PKGBUILD 101197 2010-11-28 15:10:38Z tpowa $ -# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# $Id: PKGBUILD 142817 2011-11-15 17:24:12Z andrea $ +# Maintainer: +# Contributor: Tobias Powalowski <tpowa@archlinux.org> # Contributor: arjan <arjan@archlinux.org> pkgname=libusb-compat pkgver=0.1.3 -pkgrel=1 +pkgrel=2 pkgdesc="Library to enable user space application programs to communicate with USB devices" arch=('i686' 'x86_64' 'mips64el') depends=('libusb' 'sh') url="http://libusb.sourceforge.net/" license=('LGPL') -source=(http://downloads.sourceforge.net/libusb/libusb-compat-0.1/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2) +source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname}-${pkgver%.*}/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2") options=('!libtool') md5sums=('570ac2ea085b80d1f74ddc7c6a93c0eb') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr make } package() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR=${pkgdir} install } |