xpad-noone/main.sh

26 lines
469 B
Bash
Raw Normal View History

2023-09-28 21:55:59 +02:00
#! /bin/bash
2024-07-25 13:22:10 +02:00
set -e
VERSION="1.0.git"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
2023-03-04 14:18:43 +01:00
# Clone Upstream
cd ./xpad-noone-debian
2023-03-04 14:18:43 +01:00
git clone https://github.com/medusalix/xpad-noone
# Get build deps
apt-get build-dep ./ -y
# Build package
2024-07-25 13:22:10 +02:00
LOGNAME=root dh_make --createorig -y -l -p xpad-noone_"$VERSION" || echo "dh-make: Ignoring Last Error"
2023-09-28 21:55:59 +02:00
dpkg-buildpackage --no-sign
2023-03-04 14:18:43 +01:00
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/