gamescope-session/main.sh

26 lines
467 B
Bash
Raw Permalink Normal View History

2024-07-29 00:34:55 +02:00
#! /bin/bash
set -e
VERSION="0.2.nobara"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
2023-03-03 17:16:13 +01:00
# Clone Upstream
2024-07-29 00:43:33 +02:00
cp -rvf ./debian ./gamescope-session/
2023-03-03 17:16:13 +01:00
cd ./gamescope-session
2024-07-29 00:43:33 +02:00
# Get build deps
apt-get build-dep ./ -y
2023-03-03 17:16:13 +01:00
# Build package
2024-07-29 00:34:55 +02:00
LOGNAME=root dh_make --createorig -y -l -p gamescope-session_"$VERSION" || echo "dh-make: Ignoring Last Error"
2023-07-15 14:01:42 +02:00
dpkg-buildpackage --no-sign
2023-03-03 17:16:13 +01:00
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/