lutris/main.sh

28 lines
582 B
Bash
Raw Normal View History

2023-06-23 14:20:53 +02:00
#! /bin/bash
2024-07-28 18:44:53 +02:00
set -e
2024-11-02 19:43:38 +01:00
VERSION="0.5.18"
2024-07-28 18:44:53 +02:00
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
2023-06-23 14:20:53 +02:00
# Clone Upstream
2024-11-02 19:43:38 +01:00
git clone --recurse-submodules https://github.com/lutris/lutris.git -b v"$VERSION"
2024-08-29 06:30:02 +02:00
#git clone --recurse-submodules https://github.com/lutris/lutris.git
2024-07-28 18:44:53 +02:00
cp -rvf ./debian ./lutris/
cd ./lutris
2023-06-23 14:20:53 +02:00
# Get build deps
apt-get build-dep ./ -y
# Build package
2024-07-28 18:44:53 +02:00
LOGNAME=root dh_make --createorig -y -l -p lutris_"$VERSION" || echo "dh-make: Ignoring Last Error"
2023-06-23 14:20:53 +02:00
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/