summaryrefslogtreecommitdiff
path: root/testing/libusb-compat/PKGBUILD
blob: 1e8f2a3d9b3dac9c79f93ab36b55fce432605b9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 142008 2011-11-03 22:50:48Z andrea $
# Maintainer:
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: arjan <arjan@archlinux.org>

pkgname=libusb-compat
pkgver=0.1.3
pkgrel=2
pkgdesc="Library to enable user space application programs to communicate with USB devices"
arch=('i686' 'x86_64')
depends=('libusb' 'sh')
url="http://libusb.sourceforge.net/"
license=('LGPL')
source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname}-${pkgver%.*}/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2")
options=('!libtool')
md5sums=('570ac2ea085b80d1f74ddc7c6a93c0eb')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr 
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR=${pkgdir} install
}