11929b939a
Some checks failed
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Failing after 15s
28 lines
556 B
Bash
Executable File
28 lines
556 B
Bash
Executable File
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
VERSION="0.0.git.cachyos"
|
|
|
|
source ./pika-build-config.sh
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
|
|
|
# Clone Upstream
|
|
cd ananicy-rules
|
|
mkdir etc
|
|
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
|
|
LOGNAME=root dh_make --createorig -y -l -p ananicy-rules_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
|
dpkg-buildpackage --no-sign
|
|
|
|
# Move the debs to output
|
|
cd ../
|
|
mkdir -p ./output
|
|
mv ./*.deb ./output/
|