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