# Maintainer: Page Asgardius pkgname=r3-game pkgver=0.2.1 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=('e30432723949130050a5d28867363fb82b86d9a1438ecabb1103f6a764e868b205f9260e58a604ab70927b83e6f126ef5e98d5ba02bbf6311a66705b73a88a0f' '3e4dff4c92177b5f574470019d3aa26ab0bbcae211b2bacfba385f3e349702653c75624ec71bb106b86cbf2ccec769efd739141b84b77e5887d8d3e20f49b24c' '2d0366737a8e7434b054dbcaa219ab35d4658e03c6bf689b08e00af3141ec5f6d18723799bb3da7616464011c108b3dff271c504a73811f26d5197a2877cd2b6' '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" }