Update main.sh

This commit is contained in:
ferreo 2024-12-04 17:47:08 +01:00
parent 23567548e7
commit f7c5b8bb3a

10
main.sh
View File

@ -2,22 +2,22 @@
set -e set -e
VERSION="0.2.6" VERSION="0.1.1"
source ./pika-build-config.sh source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch echo "$PIKA_BUILD_ARCH" > pika-build-arch
# Clone Upstream # Clone Upstream
git clone --recurse-submodules https://github.com/hyprwm/hyprutils -b v"$VERSION" git clone --recurse-submodules https://github.com/hyprwm/hyprgraphics -b v"$VERSION"
cp -rvf ./debian ./hyprutils/ cp -rvf ./debian ./hyprgraphics/
cd ./hyprutils cd ./
# Get build deps # Get build deps
apt-get build-dep ./ -y apt-get build-dep ./ -y
# Build package # Build package
LOGNAME=root dh_make --createorig -y -l -p hyprutils_"$VERSION" || echo "dh-make: Ignoring Last Error" LOGNAME=root dh_make --createorig -y -l -p hyprgraphics_"$VERSION" || echo "dh-make: Ignoring Last Error"
dpkg-buildpackage --no-sign dpkg-buildpackage --no-sign
# Move the debs to output # Move the debs to output