summaryrefslogtreecommitdiff
path: root/hurrycurry-client-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'hurrycurry-client-git/PKGBUILD')
-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
}