xpadneo/main.sh

27 lines
525 B
Bash
Raw Normal View History

2023-09-28 23:02:39 +03:00
#! /bin/bash
2024-07-26 13:30:43 +03:00
set -e
2025-01-03 16:49:03 +01:00
VERSION="0.9.7.git"
2024-07-26 13:30:43 +03:00
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
2023-03-04 16:13:01 +03:00
# Clone Upstream
2024-07-26 13:30:43 +03: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 16:13:01 +03:00
# Get build deps
apt-get build-dep ./ -y
# Build package
2024-07-26 13:30:43 +03:00
LOGNAME=root dh_make --createorig -y -l -p xpadneo_"$VERSION" || echo "dh-make: Ignoring Last Error"
2023-09-28 23:02:39 +03:00
dpkg-buildpackage --no-sign
2023-03-04 16:13:01 +03:00
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/