diff options
author | Mark Gallagher | 2024-01-26 21:38:29 +0000 |
---|---|---|
committer | Mark Gallagher | 2024-01-26 21:38:29 +0000 |
commit | ab088affd123893258fefb44f5a02794bc9177d8 (patch) | |
tree | 6245e57763613163fbe0779778221fd7bb88157a | |
parent | c4a767bddaea74874d7f0ed5dbe7b11baef396b4 (diff) | |
download | aur-ab088affd123893258fefb44f5a02794bc9177d8.tar.gz |
1.0.26
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
3 files changed, 13 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = mingw-w64-libusb pkgdesc = Library that provides generic access to USB devices (mingw-w64) - pkgver = 1.0.24 + pkgver = 1.0.26 pkgrel = 1 url = http://libusb.info arch = any @@ -12,8 +12,7 @@ pkgbase = mingw-w64-libusb options = !strip options = staticlibs options = !buildflags - source = https://github.com/libusb/libusb/releases/download/v1.0.24/libusb-1.0.24.tar.bz2 - sha256sums = 7efd2685f7b327326dcfb85cee426d9b871fd70e22caa15bb68d595ce2a2b12a + source = https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26.tar.bz2 + sha256sums = 12ce7a61fc9854d1d2a1ffe095f7b5fac19ddba095c259e6067a46500381b5a5 pkgname = mingw-w64-libusb - diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..dffe93cb91e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.tar.bz2 +*.tar.xz +pkg +src @@ -2,7 +2,7 @@ # Contributor: xantares <xantares09 at hotmail dot com> pkgname=mingw-w64-libusb -pkgver=1.0.24 +pkgver=1.0.26 pkgrel=1 pkgdesc="Library that provides generic access to USB devices (mingw-w64)" arch=(any) @@ -14,13 +14,13 @@ conflicts=('mingw-w64-libusbx') replaces=('mingw-w64-libusbx') options=('!strip' 'staticlibs' '!buildflags') source=("https://github.com/libusb/libusb/releases/download/v${pkgver}/libusb-${pkgver}.tar.bz2") -sha256sums=('7efd2685f7b327326dcfb85cee426d9b871fd70e22caa15bb68d595ce2a2b12a') +sha256sums=('12ce7a61fc9854d1d2a1ffe095f7b5fac19ddba095c259e6067a46500381b5a5') -_architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32') +_architectures='i686-w64-mingw32 x86_64-w64-mingw32' build() { cd "${srcdir}/libusb-${pkgver}" - for _arch in "${_architectures[@]}"; do + for _arch in ${_architectures}; do mkdir -p build-${_arch} && pushd build-${_arch} ${_arch}-configure .. make @@ -28,8 +28,8 @@ build() { done } -package () { - for _arch in "${_architectures[@]}"; do +package() { + for _arch in ${_architectures}; do cd "${srcdir}/libusb-$pkgver/build-${_arch}" make install DESTDIR="${pkgdir}" ${_arch}-strip --strip-unneeded "${pkgdir}/usr/${_arch}/bin/"*.dll |