summaryrefslogtreecommitdiff
path: root/hurrycurry-client-git
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-06-26 12:55:34 +0200
committermetamuffin <metamuffin@disroot.org>2025-06-26 12:55:34 +0200
commitda23d5e293e210f1cb577221b168a0a2f3045512 (patch)
treed4151a73d96218b0756883a0d74faea7fe5cd3ee /hurrycurry-client-git
parentf1f7fc51bdd12bc4cd19e33a8c2a7ec07e2ef9cb (diff)
downloadpkgbuilds-da23d5e293e210f1cb577221b168a0a2f3045512.tar
pkgbuilds-da23d5e293e210f1cb577221b168a0a2f3045512.tar.bz2
pkgbuilds-da23d5e293e210f1cb577221b168a0a2f3045512.tar.zst
set distribution constants in hurrycurry
Diffstat (limited to 'hurrycurry-client-git')
-rw-r--r--hurrycurry-client-git/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/hurrycurry-client-git/PKGBUILD b/hurrycurry-client-git/PKGBUILD
index dd7817c..4bcf697 100644
--- a/hurrycurry-client-git/PKGBUILD
+++ b/hurrycurry-client-git/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: metamuffin <metamuffin@disroot.org>
pkgname=hurrycurry-client-git
-pkgver=r2225.0a76fc8e
-pkgrel=1
+pkgver=r2226.06546f7c
+pkgrel=2
pkgdesc="A game about cooking (client)"
arch=('any')
url="https://codeberg.org/hurrycurry/hurrycurry"
@@ -25,6 +25,9 @@ pkgver() {
build() {
cd "hurrycurry"
make client
+ git reset --hard
+ sed -i "s/^const DISTRIBUTION := .*/const DISTRIBUTION := \"arch\"/" client/global.gd
+ sed -i "s/^const VERSION := .*/const VERSION := \"$pkgver-$pkgrel\"/" client/global.gd
mkdir -p target/release
godot --headless --export-pack wasm32-unknown-unknown ../target/release/client.pck client/project.godot
}