# Template file for 'hidapi' pkgname=hidapi version=0.13.1 revision=1 build_style=cmake hostmakedepends="pkg-config" makedepends="eudev-libudev-devel libusb-devel" short_desc="Simple library for communicating with USB and Bluetooth HID devices" maintainer="Orphaned " license="BSD-3-Clause" homepage="https://github.com/libusb/hidapi" changelog="https://github.com/libusb/hidapi/releases" distfiles="https://github.com/libusb/hidapi/archive/refs/tags/hidapi-${version}.tar.gz" checksum=476a2c9a4dc7d1fc97dd223b84338dbea3809a84caea2dcd887d9778725490e3 post_install() { vlicense LICENSE-bsd.txt LICENSE } hidapi-devel_package() { short_desc+=" - development files" depends="${makedepends} ${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/include vmove usr/lib/*.so vmove usr/lib/pkgconfig vmove usr/lib/cmake } }