2024-07-27 00:32:21 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2024-10-29 16:56:51 +01:00
|
|
|
VERSION="2.0.1"
|
2024-07-27 00:32:21 +02:00
|
|
|
|
|
|
|
source ./pika-build-config.sh
|
|
|
|
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
|
|
|
|
2023-02-25 09:26:28 +01:00
|
|
|
# Clone Upstream
|
2023-06-11 23:56:16 +02:00
|
|
|
cd ./pika-hyprland-session
|
2023-02-25 09:26:28 +01:00
|
|
|
|
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
2024-07-27 00:32:21 +02:00
|
|
|
LOGNAME=root dh_make --createorig -y -l -p pika-hyprland-session_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
2023-10-07 12:38:21 +02:00
|
|
|
dpkg-buildpackage --no-sign
|
2023-02-25 09:26:28 +01:00
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|