# Clone Upstream git clone https://github.com/vcrhonek/hwdata -b v0.379 sed -i 's#/usr/bin/env\ python#/usr/bin/env\ python3#' ./* cp -rvf ./debian ./hwdata/ cd ./hwdata # Get build deps apt-get build-dep ./ -y # Build package dpkg-buildpackage --no-sign # Move the debs to output cd ../ mkdir -p ./output mv ./*.deb ./output/