2023-12-02 13:25:16 +01:00
|
|
|
#! /bin/bash
|
|
|
|
|
2024-07-28 16:42:50 +03:00
|
|
|
set -e
|
|
|
|
|
2024-07-28 16:46:22 +03:00
|
|
|
VERSION="0.9"
|
2024-07-28 16:42:50 +03:00
|
|
|
|
|
|
|
source ./pika-build-config.sh
|
|
|
|
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
2023-12-02 13:25:16 +01:00
|
|
|
|
|
|
|
# Clone Upstream
|
2025-02-10 23:20:49 +01:00
|
|
|
git clone --recurse-submodules https://gitlab.com/CalcProgrammer1/OpenRGB ./openrgb
|
2025-02-10 23:17:26 +01:00
|
|
|
#cp -rvf ./debian ./openrgb/
|
2024-07-28 16:42:50 +03:00
|
|
|
cd ./openrgb/
|
2023-12-02 13:25:16 +01:00
|
|
|
|
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
2025-02-10 23:17:26 +01:00
|
|
|
./scripts/build-package-files.sh debian/changelog
|
|
|
|
dpkg-architecture -l
|
|
|
|
dpkg-buildpackage -us -B
|
2023-12-02 13:25:16 +01:00
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|