18 lines
341 B
Bash
Executable File
18 lines
341 B
Bash
Executable File
# Clone Upstream
|
|
git clone https://github.com/vcrhonek/hwdata -b v0.370
|
|
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
|
|
dh_make --createorig
|
|
dpkg-buildpackage
|
|
|
|
# Move the debs to output
|
|
cd ../
|
|
mkdir -p ./output
|
|
mv ./*.deb ./output/
|