ananicy-rules/main.sh

24 lines
400 B
Bash
Raw Normal View History

2023-06-26 20:42:35 +02:00
#! /bin/bash
DEBIAN_FRONTEND=noninteractive
# Clone Upstream
2023-06-26 20:52:46 +02:00
cd ananicy-rules
git clone https://github.com/CachyOS/ananicy-rules.git ./etc/ananicy.d
2023-06-26 20:42:35 +02:00
2023-07-26 17:18:38 +02:00
mv -f ./ananicy.conf ./etc/ananicy.d/ananicy.conf
2023-06-26 20:42:35 +02:00
# Get build deps
apt-get build-dep ./ -y
2023-06-26 20:55:02 +02:00
# Build package
dh_make --createorig
2023-06-26 20:42:35 +02:00
# Build package
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/