ananicy-rules/main.sh
2023-07-26 16:18:38 +01:00

24 lines
400 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
dh_make --createorig
# Build package
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/