diff options
Diffstat (limited to 'hurrycurry-client-web/PKGBUILD')
-rw-r--r-- | hurrycurry-client-web/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/hurrycurry-client-web/PKGBUILD b/hurrycurry-client-web/PKGBUILD new file mode 100644 index 0000000..22e8564 --- /dev/null +++ b/hurrycurry-client-web/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: metamuffin <metamuffin@disroot.org> + +pkgname=hurrycurry-client-web +pkgver=2.1.1 +pkgrel=1 +pkgdesc="A game about cooking (web client)" +arch=('any') +url="https://codeberg.org/hurrycurry/hurrycurry" +license=('AGPL3') +makedepends=('godot') +source=("hurrycurry-$pkgver.tar.gz::https://codeberg.org/hurrycurry/hurrycurry/archive/v$pkgver.tar.gz") +sha256sums=('f165fd6ddd2b0ce22cdb010049a8a39dd74de4943dbf0e994e6e0ca02b6b2a54') + +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.* +} |