diff options
author | metamuffin <metamuffin@disroot.org> | 2024-10-12 16:39:21 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-10-12 16:39:21 +0200 |
commit | a9fd82ae18eb67f6288d46d40bc893598922d181 (patch) | |
tree | 0f8f2d2cef42fcac145d5beb097e76197bc6f232 /hurrycurry-client | |
download | pkgbuilds-a9fd82ae18eb67f6288d46d40bc893598922d181.tar pkgbuilds-a9fd82ae18eb67f6288d46d40bc893598922d181.tar.bz2 pkgbuilds-a9fd82ae18eb67f6288d46d40bc893598922d181.tar.zst |
add existing pkgbuilds
Diffstat (limited to 'hurrycurry-client')
-rw-r--r-- | hurrycurry-client/PKGBUILD | 31 | ||||
-rw-r--r-- | hurrycurry-client/hurrycurry-client | 2 | ||||
-rw-r--r-- | hurrycurry-client/hurrycurry-client.desktop | 12 |
3 files changed, 45 insertions, 0 deletions
diff --git a/hurrycurry-client/PKGBUILD b/hurrycurry-client/PKGBUILD new file mode 100644 index 0000000..8f5b799 --- /dev/null +++ b/hurrycurry-client/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: metamuffin <metamuffin@disroot.org> + +pkgname=hurrycurry-client +pkgver=2.1.1 +pkgrel=2 +pkgdesc="A game about cooking (client)" +arch=('any') +url="https://codeberg.org/hurrycurry/hurrycurry" +license=('AGPL3') +depends=('godot') +makedepends=('godot') +source=("hurrycurry-$pkgver.tar.gz::https://codeberg.org/hurrycurry/hurrycurry/archive/v$pkgver.tar.gz" + "hurrycurry-client" + "hurrycurry-client.desktop") +sha256sums=('f165fd6ddd2b0ce22cdb010049a8a39dd74de4943dbf0e994e6e0ca02b6b2a54' + '2853345b64837352f576397aac7659aa0306e03ca7de4cdd04bb64bab9c8706c' + '2607233a774b1f74f10deb0ef1c594e418554c4b5701d0e700016368e6d59718') + +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/hurrycurry-client b/hurrycurry-client/hurrycurry-client new file mode 100644 index 0000000..c621e13 --- /dev/null +++ b/hurrycurry-client/hurrycurry-client @@ -0,0 +1,2 @@ +#!/bin/sh +godot --main-pack /usr/share/hurrycurry/client.pck diff --git a/hurrycurry-client/hurrycurry-client.desktop b/hurrycurry-client/hurrycurry-client.desktop new file mode 100644 index 0000000..8b2b04b --- /dev/null +++ b/hurrycurry-client/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 |