2023-02-25 11:49:56 +01:00
|
|
|
# Add dependent repositories
|
|
|
|
wget -q -O - https://ppa.pika-os.com/key.gpg | sudo apt-key add -
|
|
|
|
add-apt-repository https://ppa.pika-os.com
|
|
|
|
add-apt-repository ppa:pikaos/pika
|
|
|
|
add-apt-repository ppa:kubuntu-ppa/backports
|
|
|
|
# Clone Upstream
|
2023-04-04 00:33:15 +02:00
|
|
|
git clone https://github.com/vcrhonek/hwdata -b v0.369
|
2023-02-25 11:59:03 +01:00
|
|
|
sed -i 's#/usr/bin/env\ python#/usr/bin/env\ python3#' ./*
|
2023-02-25 11:49:56 +01:00
|
|
|
cp -rvf ./debian ./hwdata/
|
|
|
|
cd ./hwdata
|
|
|
|
|
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
2023-02-25 12:05:03 +01:00
|
|
|
# Build package
|
|
|
|
dh_make --createorig
|
|
|
|
dpkg-buildpackage
|
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|