21 lines
362 B
Bash
Executable File
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/
|