2024-07-29 00:56:30 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2024-10-02 19:42:42 +02:00
|
|
|
VERSION="1.25.3.0.1"
|
2024-07-29 00:56:30 +02:00
|
|
|
|
|
|
|
source ./pika-build-config.sh
|
|
|
|
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
2023-03-09 20:42:16 +01:00
|
|
|
|
|
|
|
# Clone Upstream
|
|
|
|
mkdir -p ./pikman
|
2024-07-29 00:56:30 +02:00
|
|
|
cp -rvf ./* ./pikman || true
|
2023-03-09 20:42:16 +01:00
|
|
|
cd ./pikman
|
|
|
|
|
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
2024-07-29 00:56:30 +02:00
|
|
|
LOGNAME=root dh_make --createorig -y -l -p pikman_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
|
|
|
dpkg-buildpackage --no-sign
|
2023-03-09 20:42:16 +01:00
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|