David Runge pushed to branch main at Arch Linux / Packaging / Packages / libusb
Commits: 94826ad7 by David Runge at 2025-06-04T08:57:23+02:00 Switch to git sources as more transparent upstream sources Instead of using a custom source tarball, rely on locked git tags. Signed-off-by: David Runge <[email protected]> - - - - - d8907197 by David Runge at 2025-06-04T09:05:28+02:00 upgpkg: 1.0.29-1 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,16 +1,17 @@ pkgbase = libusb pkgdesc = Library that provides generic access to USB devices - pkgver = 1.0.28 + pkgver = 1.0.29 pkgrel = 1 url = https://libusb.info/ arch = x86_64 license = LGPL-2.1-or-later + makedepends = git makedepends = systemd depends = glibc provides = libusb-1.0.so - source = https://github.com/libusb/libusb/releases/download/v1.0.28/libusb-1.0.28.tar.bz2 - sha512sums = 0f4efa6b54e6195d2e5446652c2dc07358583e205d63bf438c4409511b8637d1700a71268c40499755747827d23cc730d9122267386f847bf781993c045c519f - b2sums = 9bf506455fc1b981de155600936ab229f089ea28e58491076eab632455c4e814bf0336cd9326056a255508aa3956643c503af3ff2feda80bac036cf5cad86e80 + source = git+https://github.com/libusb/libusb.git#tag=v1.0.29 + sha512sums = 1f30c7f4b57352db7c4e786043a431bb52a9faab3fc3fa17d7112d5671da8cc894ec1b8e117185081ea2faad28177d8db4b5fde053327bdadea327e099669cc5 + b2sums = 759be08ecf6d7e3c60427223dda4667538b7de32fe3fe6769b53c46859fec31f678967828fe278253a03677cf9c49a672b08ef39a525875c03ec04c0e1086015 pkgname = libusb depends = glibc ===================================== PKGBUILD ===================================== @@ -3,7 +3,7 @@ # Contributor: Tobias Powalowski <[email protected]> pkgname=libusb -pkgver=1.0.28 +pkgver=1.0.29 pkgrel=1 pkgdesc="Library that provides generic access to USB devices" arch=(x86_64) @@ -11,19 +11,22 @@ url="https://libusb.info/" _url="https://github.com/libusb/libusb" license=(LGPL-2.1-or-later) depends=(glibc) -makedepends=(systemd) +makedepends=( + git + systemd +) provides=(libusb-1.0.so) -source=($_url/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2) -sha512sums=('0f4efa6b54e6195d2e5446652c2dc07358583e205d63bf438c4409511b8637d1700a71268c40499755747827d23cc730d9122267386f847bf781993c045c519f') -b2sums=('9bf506455fc1b981de155600936ab229f089ea28e58491076eab632455c4e814bf0336cd9326056a255508aa3956643c503af3ff2feda80bac036cf5cad86e80') +source=(git+$_url.git#tag=v$pkgver) +sha512sums=('1f30c7f4b57352db7c4e786043a431bb52a9faab3fc3fa17d7112d5671da8cc894ec1b8e117185081ea2faad28177d8db4b5fde053327bdadea327e099669cc5') +b2sums=('759be08ecf6d7e3c60427223dda4667538b7de32fe3fe6769b53c46859fec31f678967828fe278253a03677cf9c49a672b08ef39a525875c03ec04c0e1086015') prepare() { - cd $pkgname-$pkgver + cd $pkgname autoreconf -fiv } build() { - cd $pkgname-$pkgver + cd $pkgname ./configure --prefix=/usr # prevent excessive overlinking due to libtool sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool @@ -31,7 +34,7 @@ build() { } check() { - make -k check -C $pkgname-$pkgver + make -k check -C $pkgname } package () { @@ -39,6 +42,6 @@ package () { systemd-libs libudev.so ) - make DESTDIR="$pkgdir" install -C $pkgname-$pkgver - install -vDm 644 $pkgname-$pkgver/{AUTHORS,ChangeLog,README} -t "$pkgdir/usr/share/doc/$pkgname/" + make DESTDIR="$pkgdir" install -C $pkgname + install -vDm 644 $pkgname/{AUTHORS,ChangeLog,README} -t "$pkgdir/usr/share/doc/$pkgname/" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libusb/-/compare/5d7ec38eb3ffbac95c17a207586a2b161fd40551...d8907197e0d19c9c791f5e78a55a333468c4a7bc -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libusb/-/compare/5d7ec38eb3ffbac95c17a207586a2b161fd40551...d8907197e0d19c9c791f5e78a55a333468c4a7bc You're receiving this email because of your account on gitlab.archlinux.org.
