diff options
Diffstat (limited to 'hurrycurry-client-git')
-rw-r--r-- | hurrycurry-client-git/PKGBUILD | 37 | ||||
-rw-r--r-- | hurrycurry-client-git/hurrycurry-client | 2 | ||||
-rw-r--r-- | hurrycurry-client-git/hurrycurry-client.desktop | 12 |
3 files changed, 51 insertions, 0 deletions
diff --git a/hurrycurry-client-git/PKGBUILD b/hurrycurry-client-git/PKGBUILD new file mode 100644 index 0000000..4a282aa --- /dev/null +++ b/hurrycurry-client-git/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: metamuffin <metamuffin@disroot.org> + +pkgname=hurrycurry-client-git +pkgver=r1782.4b2e56f +pkgrel=2 +pkgdesc="A game about cooking (client)" +arch=('any') +url="https://codeberg.org/hurrycurry/hurrycurry" +license=('AGPL3') +depends=('godot') +makedepends=('godot') +conflics=('hurrycurry-client') +provides=('hurrycurry-client') +source=("git+https://codeberg.org/hurrycurry/hurrycurry.git" + "hurrycurry-client" + "hurrycurry-client.desktop") +sha256sums=("SKIP" + "SKIP" + "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-pack wasm32-unknown-unknown ../target/release/client.pck client/project.godot +} +package() { + install -Dm755 hurrycurry-client "$pkgdir/usr/bin/hurrycurry-client" + install -Dm644 hurrycurry-client.desktop "$pkgdir/usr/share/applications/hurrycurry-client.desktop" + install -Dm644 hurrycurry/target/release/client.pck "$pkgdir/usr/share/hurrycurry/client.pck" + install -Dm644 hurrycurry/COPYING "$pkgdir/usr/share/licenses/hurrycurry-client/COPYING" + install -Dm644 hurrycurry/client/icons/main.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/hurrycurry.png" +} diff --git a/hurrycurry-client-git/hurrycurry-client b/hurrycurry-client-git/hurrycurry-client new file mode 100644 index 0000000..c621e13 --- /dev/null +++ b/hurrycurry-client-git/hurrycurry-client @@ -0,0 +1,2 @@ +#!/bin/sh +godot --main-pack /usr/share/hurrycurry/client.pck diff --git a/hurrycurry-client-git/hurrycurry-client.desktop b/hurrycurry-client-git/hurrycurry-client.desktop new file mode 100644 index 0000000..8b2b04b --- /dev/null +++ b/hurrycurry-client-git/hurrycurry-client.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=Hurry Curry! +Icon=hurrycurry +GenericName[de]=Ein Spiel rund ums Kochen +GenericName=A game about cooking +Exec=hurrycurry-client +Terminal=false +StartupNotify=false +Type=Application +Categories=Game; +Keywords=game;cooking; +PrefersNonDefaultGPU=true |