24 lines
400 B
Bash
Executable File
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/
|