corectrl/main.sh

27 lines
485 B
Bash
Raw Normal View History

2024-07-29 23:32:32 +02:00
#! /bin/bash
set -e
2024-11-23 02:04:57 +01:00
VERSION="1.4.3.git"
2024-07-29 23:32:32 +02:00
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
2023-03-04 15:54:40 +01:00
# Clone Upstream
git clone https://gitlab.com/corectrl/corectrl
cp -rvf ./debian ./corectrl
cd ./corectrl
# Get build deps
apt-get build-dep ./ -y
# Build package
2024-07-29 23:32:32 +02:00
LOGNAME=root dh_make --createorig -y -l -p corectrl_"$VERSION" || echo "dh-make: Ignoring Last Error"
dpkg-buildpackage --no-sign
2023-03-04 15:54:40 +01:00
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/