2022-04-25 03:27:32 +02:00
# Maintainer: Page Asgardius <asgardius@asgardius.company>
pkgname = r3-game
2024-08-04 20:09:45 +02:00
pkgver = 0.1.4
2022-04-25 03:27:32 +02:00
pkgrel = 1
2024-07-20 16:47:41 +02:00
pkgdesc = "puzzle game set in the asteroid belt (made with godot)"
2024-08-04 20:09:45 +02:00
arch = ( 'any' )
2022-04-25 03:27:32 +02:00
url = "https://patrice.asgardius.company/gitea/asgardius/r3"
license = ( 'GPL' )
2024-07-20 16:47:41 +02:00
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' )
2024-08-04 20:09:45 +02:00
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"
2022-04-25 03:27:32 +02:00
"local://r3.desktop"
2024-07-20 16:47:41 +02:00
"r3-game.sh"
"local://r3.png" )
2024-08-04 20:09:45 +02:00
sha512sums = ( 'c70d6ba13a485b15093d6f0b0568433b03029f1971ae783e6c667fe29d2bf82153de035d0be47371668136ada10ab6b12b1e95334255acc508c86728c99a6105'
'6a6041b922edf39b2fd076637a209d5218d99f6fb76841c1f405e6a0b7d26c1ed2a3bd9d96aff697a8b9cce233f43a71cbc72ffbdd233f6aa72500fddfdf98f7'
'5d1c37b24747d2f579e58160934b1baa8b5e32f56a97f32c52e9b9531796c87a58574c827d0210e665ad8d335d16b024aa6fbc7af5f6ab4099c27c1513c729bc'
2022-04-25 03:27:32 +02:00
'3aff46474672a549aa9d37cdde6afed07c3a1953f6dfacb62ed1acfe505e9746fbd20ae67dc4565ed9fadff0d5f352fd679d937fdc618e4472979b563e4d62bf'
2024-07-20 16:47:41 +02:00
'f7344601ca43e09e5d6dadadfe3bcf354481c28253d5bdc3da028b9fd314ba6b36c07ccddeabef06a83e287d1e99f6796a3a402b115ba16ccea28f3141b32f88'
'509aca25f7d7e10e2a66516de524f287f6f10f718aa6fb443f65cab782f9a39bc8893406353ff95cf3068c4566ef6aa8c89053eae423e266c273b3316fdde9d4' ) #autofill using updpkgsums
2022-04-25 03:27:32 +02:00
package( ) {
2024-07-20 16:47:41 +02:00
# Install Game executable and data files
install -D -m 755 " ${ srcdir } /r3-game.sh " " $pkgdir /usr/bin/r3-game "
2024-08-04 20:09:45 +02:00
#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"
2024-07-20 16:47:41 +02:00
# 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 "
}