# Maintainer: metamuffin pkgname=hurrycurry-client-web pkgver=2.3.3 pkgrel=1 pkgdesc="A game about cooking (web client)" arch=('any') url="https://codeberg.org/hurrycurry/hurrycurry" license=('AGPL3') makedepends=('godot' 'rustup') source=("hurrycurry-$pkgver.tar.gz::https://codeberg.org/hurrycurry/hurrycurry/archive/v$pkgver.tar.gz") sha256sums=('cbad7db09db129cfc79ee7464d83b29daae3ff71c4cc33432b91d317242f9ddf') build() { cd "hurrycurry" make client mkdir -p target/release godot --headless --export-release wasm32-unknown-unknown ../target/release/client.html client/project.godot } package() { install -Dm644 hurrycurry/COPYING "$pkgdir/usr/share/licenses/hurrycurry-client-web/COPYING" install -Dm664 -t "$pkgdir/usr/share/hurrycurry/client-web" hurrycurry/target/release/client.* }