2023-09-29 12:54:49 +03:00
|
|
|
#! /bin/bash
|
|
|
|
|
2024-07-26 13:47:42 +03:00
|
|
|
set -e
|
|
|
|
|
2024-11-10 15:18:07 +01:00
|
|
|
VERSION="0.3.git1"
|
2024-07-26 13:47:42 +03:00
|
|
|
|
|
|
|
source ./pika-build-config.sh
|
|
|
|
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
|
|
|
|
2023-03-04 15:48:54 +03:00
|
|
|
# Clone Upstream
|
2024-07-26 13:47:42 +03:00
|
|
|
cd ./xone-debian
|
|
|
|
#git clone https://github.com/medusalix/xone -b v"$VERSION"
|
2024-11-10 15:18:07 +01:00
|
|
|
git clone https://github.com/tskaar/xone -b fix-6.12
|
2023-09-29 12:54:49 +03:00
|
|
|
|
2023-03-04 15:48:54 +03:00
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
2024-07-26 13:47:42 +03:00
|
|
|
LOGNAME=root dh_make --createorig -y -l -p xone_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
2023-09-29 12:54:49 +03:00
|
|
|
dpkg-buildpackage --no-sign
|
2023-03-04 15:48:54 +03:00
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|