2023-09-28 22:02:39 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
2023-03-04 14:13:01 +01:00
|
|
|
# Clone Upstream
|
|
|
|
git clone https://github.com/atar-axis/xpadneo -b v0.9.5
|
|
|
|
cp -rvf ./debian ./xpadneo
|
|
|
|
cd ./xpadneo
|
2023-09-28 22:02:39 +02:00
|
|
|
for i in ../patches/* ; do patch -Np1 -i $i; done
|
2023-03-04 14:13:01 +01:00
|
|
|
|
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
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/
|