diff options
-rw-r--r-- | hurrycurry-client-git/PKGBUILD | 7 | ||||
-rw-r--r-- | hurrycurry-standalone-files-git/PKGBUILD | 6 |
2 files changed, 10 insertions, 3 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 } diff --git a/hurrycurry-standalone-files-git/PKGBUILD b/hurrycurry-standalone-files-git/PKGBUILD index d531f38..1b3ccb5 100644 --- a/hurrycurry-standalone-files-git/PKGBUILD +++ b/hurrycurry-standalone-files-git/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: metamuffin <metamuffin@disroot.org> pkgname=hurrycurry-standalone-files-git -pkgver=r2225.0a76fc8e +pkgver=r2226.06546f7c pkgrel=1 pkgdesc="A game about cooking (standalone files (git))" arch=('any') @@ -71,6 +71,10 @@ build() { mkdir -p out cd "hurrycurry" + git reset --hard + sed -i "s/^const DISTRIBUTION := .*/const DISTRIBUTION := \"standalone\"/" client/global.gd + sed -i "s/^const VERSION := .*/const VERSION := \"$pkgver-$pkgrel\"/" client/global.gd + make client make -C data all |