diff options
author | metamuffin <metamuffin@disroot.org> | 2025-06-26 12:55:34 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-06-26 12:55:34 +0200 |
commit | da23d5e293e210f1cb577221b168a0a2f3045512 (patch) | |
tree | d4151a73d96218b0756883a0d74faea7fe5cd3ee | |
parent | f1f7fc51bdd12bc4cd19e33a8c2a7ec07e2ef9cb (diff) | |
download | pkgbuilds-da23d5e293e210f1cb577221b168a0a2f3045512.tar pkgbuilds-da23d5e293e210f1cb577221b168a0a2f3045512.tar.bz2 pkgbuilds-da23d5e293e210f1cb577221b168a0a2f3045512.tar.zst |
set distribution constants in hurrycurry
-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 |