17 lines
330 B
Bash
Executable File
17 lines
330 B
Bash
Executable File
# Clone Upstream
|
|
git clone https://github.com/vcrhonek/hwdata -b v0.374
|
|
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/
|