# Maintainer: Page Asgardius pkgname=r3-game pkgver=0.2.0 pkgrel=1 pkgdesc="puzzle game set in the asteroid belt (made with godot)" arch=('aarch64' 'x86_64') url="https://patrice.asgardius.company/gitea/asgardius/r3" license=('GPL') depends=(freetype2 graphite harfbuzz harfbuzz-icu libglvnd libspeechd libtheora libvorbis libwebp libwslay libxcursor libxi libxinerama libxrandr mbedtls2 miniupnpc pcre2) optdepends=('pipewire-alsa: for audio support' 'pipewire-pulse: for audio support') source=("r3-game.x86_64::https://elda.asgardius.company/r3-game-dl/r3-next-R$pkgver-beta/The%20Red%20Robot%20Radio.x86_64" "r3-game.arm64::https://elda.asgardius.company/r3-game-dl/r3-next-R$pkgver-beta/The%20Red%20Robot%20Radio.arm64" "r3-game.pck::https://elda.asgardius.company/r3-game-dl/r3-next-R$pkgver-beta/The%20Red%20Robot%20Radio.pck" "local://r3.desktop" "r3-game.sh" "local://r3.png") sha512sums=('ef898b6c9b3df994a63d3d13510bfb779b479ce68f8ed4470d66a8fc6c8d89963ad9bedbe1dcd2e77899ba40c504677ef72ed17dc9acea01eee5c2c45164ee6b' 'f1fa91bf0be3c103592eae5f420ae99422861ecc0df06a906f2c57d63327388813bd6d0fb6969d1d44527c9fefe517965c1feb4569972cb2449b76223b120d1a' '40733196208fc66f6adc8e345ce124a8d335ec16c8401aad0668b40af489b516c10b98592f40925b7bb50dbcf4c5558cdd1e295a62bd837d0b1df2a832b6e3ba' '1d9fcae2e0d2e88a1f9fe95e0a7d1f65fb868ae0cc76089e54f4c1eb6bb45fc75740f54bc2cd42e26e3a13603c2d83510ab5614606275c4978c006a7f423a2e0' '77a795db89a6904acf3cc474b1e30d2d1f0529e55c8d37a6f91da4905c7f8e822fb4d148fddc00da6fd0c4cb86c9c9d87b1f4bef2ec01006fa515ee248f5ab14' '509aca25f7d7e10e2a66516de524f287f6f10f718aa6fb443f65cab782f9a39bc8893406353ff95cf3068c4566ef6aa8c89053eae423e266c273b3316fdde9d4') #autofill using updpkgsums package() { # Install Game executable and data files install -D -m 755 "${srcdir}/r3-game.sh" "$pkgdir/usr/bin/r3-game" #mkdir -p "$pkgdir/opt/virtualx" if uname -m | grep -q 'x86_64'; then install -D -m 755 "${srcdir}/r3-game.x86_64" "$pkgdir/opt/virtualx/r3-game.x86_64" else install -D -m 755 "${srcdir}/r3-game.arm64" "$pkgdir/opt/virtualx/r3-game.arm64" fi install -D -m 644 "${srcdir}/r3-game.pck" "$pkgdir/opt/virtualx/r3-game.pck" #chmod 755 "$pkgdir/opt/virtualx" # Install icon install -D -m 644 "${srcdir}/r3.png" "$pkgdir/usr/share/icons/hicolor/apps/r3-game.png" # Install .desktop file install -D -m 644 "${srcdir}/r3.desktop" "${pkgdir}/usr/share/applications/r3-game.desktop" }