xpadneo/main.sh

27 lines
525 B
Bash
Raw Permalink Normal View History

2023-09-28 22:02:39 +02:00
#! /bin/bash
2024-07-26 12:30:43 +02:00
set -e
VERSION="0.9.6.git"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
2023-03-04 14:13:01 +01:00
# Clone Upstream
2024-07-26 12:30:43 +02:00
cd ./xpadneo-debian
#git clone https://github.com/atar-axis/xpadneo -b v"$VERSION"
git clone https://github.com/atar-axis/xpadneo
2023-03-04 14:13:01 +01:00
# Get build deps
apt-get build-dep ./ -y
# Build package
2024-07-26 12:30:43 +02:00
LOGNAME=root dh_make --createorig -y -l -p xpadneo_"$VERSION" || echo "dh-make: Ignoring Last Error"
2023-09-28 22:02:39 +02:00
dpkg-buildpackage --no-sign
2023-03-04 14:13:01 +01:00
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/