new release

This commit is contained in:
Page Asgardius 2024-10-29 15:50:47 -07:00
parent 2513028c1d
commit 8dee346fa7
3 changed files with 21 additions and 17 deletions

View file

@ -1,36 +1,39 @@
# Maintainer: Page Asgardius <asgardius@asgardius.company>
pkgname=r3-game
pkgver=0.1.4
pkgver=0.2.0
pkgrel=1
pkgdesc="puzzle game set in the asteroid belt (made with godot)"
arch=('any')
arch=('aarch64' 'x86_64')
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
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://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"
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=('c70d6ba13a485b15093d6f0b0568433b03029f1971ae783e6c667fe29d2bf82153de035d0be47371668136ada10ab6b12b1e95334255acc508c86728c99a6105'
'6a6041b922edf39b2fd076637a209d5218d99f6fb76841c1f405e6a0b7d26c1ed2a3bd9d96aff697a8b9cce233f43a71cbc72ffbdd233f6aa72500fddfdf98f7'
'5d1c37b24747d2f579e58160934b1baa8b5e32f56a97f32c52e9b9531796c87a58574c827d0210e665ad8d335d16b024aa6fbc7af5f6ab4099c27c1513c729bc'
'3aff46474672a549aa9d37cdde6afed07c3a1953f6dfacb62ed1acfe505e9746fbd20ae67dc4565ed9fadff0d5f352fd679d937fdc618e4472979b563e4d62bf'
'f7344601ca43e09e5d6dadadfe3bcf354481c28253d5bdc3da028b9fd314ba6b36c07ccddeabef06a83e287d1e99f6796a3a402b115ba16ccea28f3141b32f88'
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"
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"
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"
@ -39,4 +42,4 @@ package() {
# Install .desktop file
install -D -m 644 "${srcdir}/r3.desktop" "${pkgdir}/usr/share/applications/r3-game.desktop"
}
}

View file

@ -1,7 +1,7 @@
#!/bin/sh
cd /opt/virtualx/
if uname -m | grep -q 'x86_64'; then
./r3-game.x86_64
./r3-game.x86_64 $@
else
./r3-game.arm64
./r3-game.arm64 $@
fi

View file

@ -1,5 +1,6 @@
[Desktop Entry]
Name=The Red Robot Radio
Comment=Puzzle game set in the asteroid belt
Exec=r3-game
Icon=/usr/share/icons/hicolor/apps/r3-game.png
Terminal=false