From 2cbdcfb0cdad0f68b18d730c6de3ca60e62c7b90 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 29 Jun 2025 02:58:56 +0200 Subject: package experimental windows installer --- hurrycurry-client-git/PKGBUILD | 4 ++-- hurrycurry-client-web-git/PKGBUILD | 2 +- hurrycurry-server-git/PKGBUILD | 2 +- hurrycurry-standalone-files-git/PKGBUILD | 30 ++++++++++++++++++++++++++---- hurrycurry-website-git/PKGBUILD | 4 ++-- 5 files changed, 32 insertions(+), 10 deletions(-) diff --git a/hurrycurry-client-git/PKGBUILD b/hurrycurry-client-git/PKGBUILD index 4bcf697..9a6e05e 100644 --- a/hurrycurry-client-git/PKGBUILD +++ b/hurrycurry-client-git/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: metamuffin pkgname=hurrycurry-client-git -pkgver=r2226.06546f7c -pkgrel=2 +pkgver=r2236.e4a1afec +pkgrel=1 pkgdesc="A game about cooking (client)" arch=('any') url="https://codeberg.org/hurrycurry/hurrycurry" diff --git a/hurrycurry-client-web-git/PKGBUILD b/hurrycurry-client-web-git/PKGBUILD index 308e7ac..afa52a3 100644 --- a/hurrycurry-client-web-git/PKGBUILD +++ b/hurrycurry-client-web-git/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: metamuffin pkgname=hurrycurry-client-web-git -pkgver=r2225.0a76fc8e +pkgver=r2236.e4a1afec pkgrel=1 pkgdesc="A game about cooking (web client)" arch=('any') diff --git a/hurrycurry-server-git/PKGBUILD b/hurrycurry-server-git/PKGBUILD index 5e6943e..b45dd8f 100644 --- a/hurrycurry-server-git/PKGBUILD +++ b/hurrycurry-server-git/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: metamuffin pkgname=hurrycurry-server-git -pkgver=r2225.0a76fc8e +pkgver=r2236.e4a1afec pkgrel=1 pkgdesc="A game about cooking (server)" arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') diff --git a/hurrycurry-standalone-files-git/PKGBUILD b/hurrycurry-standalone-files-git/PKGBUILD index 1b3ccb5..0e0c109 100644 --- a/hurrycurry-standalone-files-git/PKGBUILD +++ b/hurrycurry-standalone-files-git/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: metamuffin pkgname=hurrycurry-standalone-files-git -pkgver=r2226.06546f7c +pkgver=r2236.e4a1afec pkgrel=1 pkgdesc="A game about cooking (standalone files (git))" arch=('any') @@ -18,8 +18,12 @@ makedepends=( 'mingw-w64-binutils' 'lib32-rust-libs' ) -source=("git+https://codeberg.org/hurrycurry/hurrycurry.git") -sha256sums=('SKIP') +source=("hurrycurry::git+https://codeberg.org/hurrycurry/hurrycurry.git" + "hurrycurry-windows-installer::git+https://codeberg.org/hurrycurry/windows-installer.git" + "hurrycurry-website::git+https://codeberg.org/hurrycurry/website.git") +sha256sums=('SKIP' + 'SKIP' + 'SKIP') _targets=( "x86_64-unknown-linux-gnu" @@ -69,7 +73,7 @@ build() { export CFLAGS= mkdir -p out - cd "hurrycurry" + pushd "hurrycurry" git reset --hard sed -i "s/^const DISTRIBUTION := .*/const DISTRIBUTION := \"standalone\"/" client/global.gd @@ -96,6 +100,22 @@ build() { cargo build --release --target "$t" --bin hurrycurry-discover cargo build --release --target "$t" --bin hurrycurry-replaytool done + + popd + pushd hurrycurry-windows-installer + + ln -svfT ../hurrycurry main + ln -svfT ../hurrycurry-website website + make \ + DATA=../out/data.tar.zst \ + CLIENT_64=../out/client-x86_64-pc-windows-gnu.exe \ + CLIENT_32=../out/client-i686-pc-windows-gnu.exe \ + SERVER_64=../hurrycurry/target/x86_64-pc-windows-gnu/release/hurrycurry-server.exe \ + SERVER_32=../hurrycurry/target/i686-pc-windows-gnu/release/hurrycurry-server.exe \ + DISCOVER_64=../hurrycurry/target/x86_64-pc-windows-gnu/release/hurrycurry-discover.exe \ + DISCOVER_32=../hurrycurry/target/i686-pc-windows-gnu/release/hurrycurry-discover.exe + + popd } package() { out="$pkgdir/usr/share/hurrycurry/standalone-files/nightly" @@ -111,4 +131,6 @@ package() { install -Dvm644 "hurrycurry/target/$t/release/hurrycurry-discover$suf" "$out/discover-$t$suf" install -Dvm644 "hurrycurry/target/$t/release/hurrycurry-replaytool$suf" "$out/replaytool-$t$suf" done + install -Dvm644 "hurrycurry-windows-installer/hurrycurry-install-x86_64.exe" "$out/windows-installer-x86_64.exe" + install -Dvm644 "hurrycurry-windows-installer/hurrycurry-install-i686.exe" "$out/windows-installer-i686.exe" } diff --git a/hurrycurry-website-git/PKGBUILD b/hurrycurry-website-git/PKGBUILD index 0665278..e34374a 100644 --- a/hurrycurry-website-git/PKGBUILD +++ b/hurrycurry-website-git/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: metamuffin pkgname=hurrycurry-website-git -pkgver=r26.d7a96f2 +pkgver=r29.b9d6cf0 pkgrel=1 pkgdesc="Hurrycurry website files" arch=('any') @@ -29,5 +29,5 @@ build() { } package() { install -dm755 "$pkgdir/usr/share/hurrycurry/website" - install -Dm664 -t $pkgdir/usr/share/hurrycurry/website website/*.{png,webp,svg,woff2,html,css} + cp -r website/* "$pkgdir/usr/share/hurrycurry/website" } -- cgit v1.2.3-70-g09d2