main/libusb: upgrade to 1.0.22

This commit is contained in:
prspkt 2018-03-25 13:12:11 +00:00 committed by Sören Tempel
parent f8f4c4d3c5
commit e639acba41

View File

@ -1,9 +1,9 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libusb pkgname=libusb
pkgver=1.0.21 pkgver=1.0.22
_ver=${pkgver/_/-} _ver=${pkgver/_/-}
pkgrel=1 pkgrel=0
pkgdesc="Library to enable user space application programs to communicate with USB devices" pkgdesc="Library that enables userspace access to USB devices"
url="http://libusb.info/" url="http://libusb.info/"
arch="all" arch="all"
license="LGPL-2.0-or-later" license="LGPL-2.0-or-later"
@ -12,8 +12,7 @@ replaces="libusbx"
makedepends="linux-headers" makedepends="linux-headers"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
" "
builddir="$srcdir/$pkgname-$_ver"
builddir="$srcdir"/$pkgname-$_ver
build() { build() {
cd "$builddir" cd "$builddir"
@ -35,4 +34,4 @@ package() {
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }
sha512sums="015ca07bdb559aa40af5db1302ab0b1c8a30d593699fe2f3c9f45162673dc7b608cecc58d60fde8f3bde2a68370794a045e8efa48fc55402eece11261e525762 libusb-1.0.21.tar.bz2" sha512sums="2a93ba48bb66b9775838c16d74f7269348d9bc163f94ccf2842d1108d95a41cf79f8c8065233bea410fb94261a462dbb08ecfa1a9b6d3ddf4a5980e6043f74f4 libusb-1.0.22.tar.bz2"