blob: cacbc1076b1cf1136a06b2b7722c73274a491a98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: metamuffin <metamuffin@disroot.org>
pkgname=hurrycurry-client-web
pkgver=2.2.1
pkgrel=2
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=('c33ac0383534d30c107438cc022ea1656c80fbbdeaa2398bbe3b9a363a9346dd')
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.*
}
|