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-git/PKGBUILD | |
download | pkgbuilds-a9fd82ae18eb67f6288d46d40bc893598922d181.tar pkgbuilds-a9fd82ae18eb67f6288d46d40bc893598922d181.tar.bz2 pkgbuilds-a9fd82ae18eb67f6288d46d40bc893598922d181.tar.zst |
add existing pkgbuilds
Diffstat (limited to 'hurrycurry-client-git/PKGBUILD')
-rw-r--r-- | hurrycurry-client-git/PKGBUILD | 37 |
1 files changed, 37 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" +} |