blob: 2702179380d56b4e616a9cafd949851f12788e26 (
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
28
29
30
31
|
# $Id$
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=libusb
pkgver=1.0.21
pkgrel=1
pkgdesc='Library that provides generic access to USB devices'
arch=('i686' 'x86_64')
url='http://libusb.info/'
license=('LGPL')
depends=('glibc' 'systemd')
replaces=('libusb1' 'libusbx')
provides=("libusbx=$pkgver")
conflicts=('libusbx')
source=(https://github.com/libusb/libusb/releases/download/v$pkgver/libusb-$pkgver.tar.bz2)
md5sums=('1da9ea3c27b3858fa85c5f4466003e44')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make -j1
}
check() {
make -C $pkgname-$pkgver check
}
package () {
make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
}
|