mangohud/main.sh

26 lines
507 B
Bash
Raw Normal View History

2024-07-28 18:50:25 +02:00
#! /bin/bash
set -e
. ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="0.7.2"
2023-03-09 19:29:53 +01:00
# Clone Upstream
2024-07-28 18:50:25 +02:00
git clone https://github.com/flightlessmango/MangoHud mangohud -b v"$VERSION"
2023-03-09 20:11:20 +01:00
cp -rvf ./debian ./mangohud/
2023-03-09 19:29:53 +01:00
cd ./mangohud
# Get build deps
2024-07-28 18:50:25 +02:00
LOGNAME=root dh_make --createorig -y -l -p mangohud_"$VERSION" || echo "dh-make: Ignoring Last Error"
2023-03-09 19:29:53 +01:00
apt-get build-dep ./ -y
# Build package
2023-07-12 18:32:50 +02:00
dpkg-buildpackage --no-sign
2023-03-09 19:29:53 +01:00
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/