2023-03-04 14:52:44 +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-25 00:22:36 +02:00
|
|
|
git clone https://gitlab.com/asus-linux/supergfxctl -b 5.1.0
|
2023-03-04 14:52:44 +01:00
|
|
|
cp -rvf ./debian ./supergfxctl
|
|
|
|
cd ./supergfxctl
|
|
|
|
|
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
2023-04-25 00:22:36 +02:00
|
|
|
LOGNAME=root dh_make --createorig -y -l -p supergfxctl_5.1.0
|
2023-03-04 14:52:44 +01:00
|
|
|
dpkg-buildpackage
|
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|