{
    "name": "libusb",
    "config-opts": [
        "--disable-static"
    ],
    "cleanup": [
        "/lib/*.la",
        "/lib/pkgconfig",
        "/include"
    ],
    "sources": [
        {
            "type": "archive",
            "url": "https://github.com/libusb/libusb/releases/download/v1.0.28/libusb-1.0.28.tar.bz2",
            "sha256": "966bb0d231f94a474eaae2e67da5ec844d3527a1f386456394ff432580634b29",
            "x-checker-data": {
                "type": "anitya",
                "project-id": 1749,
                "stable-only": true,
                "url-template": "https://github.com/libusb/libusb/releases/download/v$version/libusb-$version.tar.bz2"
            }
        }
    ],
    "post-install": [
        "install -Dm644 COPYING ${FLATPAK_DEST}/share/licenses/libusb/COPYING"
    ]
}
