mangohud/main.sh

26 lines
497 B
Bash
Raw Permalink 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
2024-09-14 21:09:43 +02:00
VERSION="0.7.2-git1"
2024-07-28 18:50:25 +02:00
2023-03-09 19:29:53 +01:00
# Clone Upstream
2024-09-14 21:09:43 +02:00
git clone https://github.com/flightlessmango/MangoHud mangohud
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/