aboutsummaryrefslogtreecommitdiffstats
path: root/main/libusb
diff options
context:
space:
mode:
Diffstat (limited to 'main/libusb')
-rw-r--r--main/libusb/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/libusb/APKBUILD b/main/libusb/APKBUILD
index 8b2ec7b436..078a51a026 100644
--- a/main/libusb/APKBUILD
+++ b/main/libusb/APKBUILD
@@ -1,8 +1,8 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libusb
-pkgver=1.0.22
+pkgver=1.0.23
_ver=${pkgver/_/-}
-pkgrel=1
+pkgrel=0
pkgdesc="Library that enables userspace access to USB devices"
url="https://libusb.info/"
arch="all"
@@ -10,9 +10,8 @@ license="LGPL-2.0-or-later"
subpackages="$pkgname-dev"
replaces="libusbx"
makedepends="linux-headers"
-source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
+source="https://github.com/libusb/libusb/releases/download/v$pkgver/libusb-$pkgver.tar.bz2
"
-builddir="$srcdir/$pkgname-$_ver"
build() {
cd "$builddir"
@@ -20,7 +19,8 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --disable-udev
+ --disable-udev \
+ --disable-static
make -j1
}
@@ -34,4 +34,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="2a93ba48bb66b9775838c16d74f7269348d9bc163f94ccf2842d1108d95a41cf79f8c8065233bea410fb94261a462dbb08ecfa1a9b6d3ddf4a5980e6043f74f4 libusb-1.0.22.tar.bz2"
+sha512sums="73430ad31dd405e76a9c6c55086961003989c44964e2735b5076f9ca849e3f6fe71d10a66b74b111f0c34a0d2cb744b9ca105863c552123fce4ec0bbdd2ec15b libusb-1.0.23.tar.bz2"