Package Details: libusb0 0.1.12-5

Git Clone URL: https://aur.archlinux.org/libusb0.git (read-only)
Package Base: libusb0
Description: Library to enable user space application programs to communicate with USB devices. 0.x branch. Debian's binary.
Upstream URL: http://libusb.sourceforge.net/
Licenses: LGPL
Conflicts: libusb-compat
Provides: libusb-compat
Submitter: ValdikSS
Maintainer: ValdikSS
Last Packager: ValdikSS
Votes: 2
Popularity: 0.118555
First Submitted: 2014-02-19 19:26
Last Updated: 2015-09-11 23:03

Dependencies (1)

Required by (127)

Sources (1)

Latest Comments

ValdikSS commented on 2016-04-03 08:37

I'm afraid that's a pacaur bug, not a build script.

marmistrz commented on 2016-04-03 07:31

The build doesn't run cleanly, can you fix this please:

mv: cannot stat '/tmp/pacaurtmp-marcin/libusb0/pkg/libusb0/usr/lib/i386-linux-gnu/*': No such file or directory
mv: cannot stat '/tmp/pacaurtmp-marcin/libusb0/pkg/libusb0/lib/i386-linux-gnu/*': No such file or directory
rm: cannot remove '/tmp/pacaurtmp-marcin/libusb0/pkg/libusb0/lib/i386-linux-gnu': No such file or directory
rm: cannot remove '/tmp/pacaurtmp-marcin/libusb0/pkg/libusb0/usr/lib/i386-linux-gnu': No such file or directory

This makes pacaur error out, although makepkg runs 'til the end.

ValdikSS commented on 2015-09-11 23:05

@Zepman, updated, check it out please.

Zepman commented on 2015-09-11 16:49

This packed was used a few days ago by me to compile scanbd with scanbuttond support. During this, I noticed several issues with the current libusb0 in AUR:

1.
The PKGBUILD only contains a single MD5 hash while two possible source files are used for two different architectures. The current MD5 hash in PKGBUILD is for the amd64 deb package, not the i386 package. x86 users need to change the MD5 sum manually. Fix: include the MD5 sum of the i386 package in PKGBUILD. For reference:
http://ftp.debian.org/debian/pool/main/libu/libusb/libusb-0.1-4_0.1.12-25_i386.deb: 316254e4ae2ff97f520948ffbb4af1ad
http://ftp.debian.org/debian/pool/main/libu/libusb/libusb-0.1-4_0.1.12-25_amd64.deb: 582aee4738aecee1ad2d4c725510b419

2.
This package only concerns the binaries of libusb0, not the development files. The development files are required to compile other software against libusb0. Please include the files from the package corresponding to the architecture:
http://ftp.debian.org/debian/pool/main/libu/libusb/libusb-dev_0.1.12-25_i386.deb
http://ftp.debian.org/debian/pool/main/libu/libusb/libusb-dev_0.1.12-25_amd64.deb

More information:
https://packages.debian.org/jessie/libusb-dev

For a correct installation of the development files, a link should be made from /usr/lib/libusb.so to the actual libusb0 binary (e.g. libusb-0.1.so.4.4.4).

3.
The package currently fails to install due to a conflict with Arch's directory structure. Add this line at the end of the package() section of PKGBUILD to solve it: rm -rf ${pkgdir}/lib/


Please fix these issues. There is quite a bit of legacy software which still relies on the older libusb 0.x branch, and I was happy that I could use this PKGBUILD as a base for my work.

ValdikSS commented on 2014-08-31 23:03

@babel
Thanks! Updated.

babel commented on 2014-08-29 17:13

Almost forgot, the md5sums is 031d3212f1c74a9a85409bf4130e9e69

babel commented on 2014-08-29 17:06

The last version is in http://ftp.debian.org/debian/pool/main/libu/libusb/libusb-0.1-4_0.1.12-24_amd64.deb