ananicy-rules/main.sh
Ward Nakchbandi (Cosmic Fusion) a47667eef5
2023-10-04 19:57:32 +03:00

21 lines
362 B
Bash
Executable File

#! /bin/bash
DEBIAN_FRONTEND=noninteractive
# Clone Upstream
cd ananicy-rules
git clone https://github.com/CachyOS/ananicy-rules.git ./etc/ananicy.d
mv -f ./ananicy.conf ./etc/ananicy.d/ananicy.conf
# 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/