virtualxrpg-arch/PKGBUILD
2024-08-04 11:09:45 -07:00

42 lines
2.5 KiB
Bash

# Maintainer: Page Asgardius <asgardius@asgardius.company>
pkgname=r3-game
pkgver=0.1.4
pkgrel=1
pkgdesc="puzzle game set in the asteroid belt (made with godot)"
arch=('any')
url="https://patrice.asgardius.company/gitea/asgardius/r3"
license=('GPL')
depends=(embree3 freetype2 graphite harfbuzz harfbuzz-icu libglvnd libspeechd
libsquish 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://git.asgardius.company/asgardius/r3-next/releases/download/R0.1.4-beta/The%20Red%20Robot%20Radio.x86_64"
"r3-game.arm64::https://git.asgardius.company/asgardius/r3-next/releases/download/R0.1.4-beta/The%20Red%20Robot%20Radio.arm64"
"r3-game.pck::https://git.asgardius.company/asgardius/r3-next/releases/download/R0.1.4-beta/The%20Red%20Robot%20Radio.pck"
"local://r3.desktop"
"r3-game.sh"
"local://r3.png")
sha512sums=('c70d6ba13a485b15093d6f0b0568433b03029f1971ae783e6c667fe29d2bf82153de035d0be47371668136ada10ab6b12b1e95334255acc508c86728c99a6105'
'6a6041b922edf39b2fd076637a209d5218d99f6fb76841c1f405e6a0b7d26c1ed2a3bd9d96aff697a8b9cce233f43a71cbc72ffbdd233f6aa72500fddfdf98f7'
'5d1c37b24747d2f579e58160934b1baa8b5e32f56a97f32c52e9b9531796c87a58574c827d0210e665ad8d335d16b024aa6fbc7af5f6ab4099c27c1513c729bc'
'3aff46474672a549aa9d37cdde6afed07c3a1953f6dfacb62ed1acfe505e9746fbd20ae67dc4565ed9fadff0d5f352fd679d937fdc618e4472979b563e4d62bf'
'f7344601ca43e09e5d6dadadfe3bcf354481c28253d5bdc3da028b9fd314ba6b36c07ccddeabef06a83e287d1e99f6796a3a402b115ba16ccea28f3141b32f88'
'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"
install -D -m 755 "${srcdir}/r3-game.x86_64" "$pkgdir/opt/virtualx/r3-game.x86_64"
install -D -m 755 "${srcdir}/r3-game.arm64" "$pkgdir/opt/virtualx/r3-game.arm64"
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"
}