supergfxctl/main.sh
Ward Nakchbandi (Cosmic Fusion) 41ae308e43
Update main.sh
2023-04-25 01:22:36 +03:00

22 lines
555 B
Bash
Executable File

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