5456c847ce
All checks were successful
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Successful in 1m45s
27 lines
517 B
Bash
Executable File
27 lines
517 B
Bash
Executable File
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
VERSION="0.9"
|
|
|
|
source ./pika-build-config.sh
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
|
|
|
# Clone Upstream
|
|
git clone -b release_"$VERSION" https://gitlab.com/CalcProgrammer1/OpenRGB ./openrgb
|
|
cp -rvf ./debian ./openrgb/
|
|
cd ./openrgb/
|
|
|
|
# Get build deps
|
|
apt-get build-dep ./ -y
|
|
|
|
# Build package
|
|
LOGNAME=root dh_make --createorig -y -l -p openrgb_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
|
dpkg-buildpackage --no-sign
|
|
|
|
# Move the debs to output
|
|
cd ../
|
|
mkdir -p ./output
|
|
mv ./*.deb ./output/
|