blob: 741411bc61b559413e16abe80e7225918fa4913d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: metamuffin <metamuffin@disroot.org>
pkgname=hurrycurry-client-web-git
pkgver=r2216.44ca1fe3
pkgrel=1
pkgdesc="A game about cooking (web client)"
arch=('any')
url="https://codeberg.org/hurrycurry/hurrycurry"
license=('AGPL3')
conflics=('hurrycurry-client-web')
provides=('hurrycurry-client-web')
makedepends=('godot' 'rustup')
source=("git+https://codeberg.org/hurrycurry/hurrycurry.git")
sha256sums=("SKIP")
pkgver() {
cd "hurrycurry"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
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.*
}
|