from lib.make import * from lib import cpp version("0.411") description("hwdata contains various hardware identification and configuration data, such as the pci.ids and usb.ids databases.") maintainer("sisungo ") source_managed("github://vcrhonek/hwdata#v0.411") builddep("shortcut/autotools") def build(): cpp.configure(["--disable-blacklist", f"--prefix={get_prefix('hwdata')}"]) cpp.make() cpp.make_install() on_build(build) def pack(composer): composer.add("share") package("hwdata") arch_any() on_pack(pack)