virtualxrpg

This commit is contained in:
Page Asgardius 2024-08-04 11:39:06 -07:00
parent 2513028c1d
commit 5f84741110
8 changed files with 35 additions and 37 deletions

View file

@ -1,10 +1,10 @@
# Maintainer: Page Asgardius <asgardius@asgardius.company> # Maintainer: Page Asgardius <asgardius@asgardius.company>
pkgname=r3-game pkgname=midori-school
pkgver=0.1.4 pkgver=0.1.10
pkgrel=1 pkgrel=1
pkgdesc="puzzle game set in the asteroid belt (made with godot)" pkgdesc="The only Open Source Genshin Killer (made with godot)"
arch=('any') arch=('any')
url="https://patrice.asgardius.company/gitea/asgardius/r3" url="https://git.asgardius.company/asgardius/midori-school"
license=('GPL') license=('GPL')
depends=(embree3 freetype2 graphite harfbuzz harfbuzz-icu libglvnd libspeechd depends=(embree3 freetype2 graphite harfbuzz harfbuzz-icu libglvnd libspeechd
libsquish libtheora libvorbis libwebp libwslay libxcursor libxi libsquish libtheora libvorbis libwebp libwslay libxcursor libxi
@ -12,31 +12,31 @@ depends=(embree3 freetype2 graphite harfbuzz harfbuzz-icu libglvnd libspeechd
optdepends=('pipewire-alsa: for audio support' optdepends=('pipewire-alsa: for audio support'
'pipewire-pulse: 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" source=("virtualxrpg.x86_64::https://git.asgardius.company/asgardius/midori-school/releases/download/R0.1.10-alpha/Midori%20in%20the%20Magic%20School.x86_64"
"r3-game.arm64::https://git.asgardius.company/asgardius/r3-next/releases/download/R0.1.4-beta/The%20Red%20Robot%20Radio.arm64" "virtualxrpg.arm64::https://git.asgardius.company/asgardius/midori-school/releases/download/R0.1.10-alpha/Midori%20in%20the%20Magic%20School.arm64"
"r3-game.pck::https://git.asgardius.company/asgardius/r3-next/releases/download/R0.1.4-beta/The%20Red%20Robot%20Radio.pck" "virtualxrpg.pck::https://git.asgardius.company/asgardius/midori-school/releases/download/R0.1.10-alpha/Midori%20in%20the%20Magic%20School.pck"
"local://r3.desktop" "local://virtualxrpg.desktop"
"r3-game.sh" "local://virtualxrpg.sh"
"local://r3.png") "local://virtualxrpg.png")
sha512sums=('c70d6ba13a485b15093d6f0b0568433b03029f1971ae783e6c667fe29d2bf82153de035d0be47371668136ada10ab6b12b1e95334255acc508c86728c99a6105' sha512sums=('804242383a4bbaaa8abc4aba8aeb643bd5a900af1eda1ea8f1862072db8cd12683ea95d264b391300a5045d58eccc442b7cd72851c13bc9cbd9a963e5d57c5f3'
'6a6041b922edf39b2fd076637a209d5218d99f6fb76841c1f405e6a0b7d26c1ed2a3bd9d96aff697a8b9cce233f43a71cbc72ffbdd233f6aa72500fddfdf98f7' 'a2e373fb934ce7b15986302754894a2be0591140e555f39c2a8ca4b3071e54cb36efb8ec95651f885607fb6b9399af9d959937041bf76066e4fef17fece56e81'
'5d1c37b24747d2f579e58160934b1baa8b5e32f56a97f32c52e9b9531796c87a58574c827d0210e665ad8d335d16b024aa6fbc7af5f6ab4099c27c1513c729bc' 'dc6d3c35e57b55300f288e4963fad49b4679b0ae47d687bdfb60a3bb9bc3f5941d05d810d8ba72d05d6927d018123eccec3dd8c5825737fde49a3fc710e17d30'
'3aff46474672a549aa9d37cdde6afed07c3a1953f6dfacb62ed1acfe505e9746fbd20ae67dc4565ed9fadff0d5f352fd679d937fdc618e4472979b563e4d62bf' 'edbb91c9211b3b2e064c788668241efe1d1d226f1f53d61189c463e4bd3b61fb1e7dcf135c2a75d36a0fde552060302b7810d35b1de6fa0ba81eb87cd9395e40'
'f7344601ca43e09e5d6dadadfe3bcf354481c28253d5bdc3da028b9fd314ba6b36c07ccddeabef06a83e287d1e99f6796a3a402b115ba16ccea28f3141b32f88' 'c129c16a8021efd5f4cadbaad431a168d5dd987dc236763c9fdc0a42ee69340c4f62b4a716352522765e004c6a64155bfce7cbd7b402df5c1527a6dc17519c88'
'509aca25f7d7e10e2a66516de524f287f6f10f718aa6fb443f65cab782f9a39bc8893406353ff95cf3068c4566ef6aa8c89053eae423e266c273b3316fdde9d4') #autofill using updpkgsums '797411c12ab89708d719ad4e466457d83d96223d5df5b94d966312744b6061226b5b046149c912ee910e86f737ddb0fc8ded6038b5d955bde639b361165767d5') #autofill using updpkgsums
package() { package() {
# Install Game executable and data files # Install Game executable and data files
install -D -m 755 "${srcdir}/r3-game.sh" "$pkgdir/usr/bin/r3-game" install -D -m 755 "${srcdir}/virtualxrpg.sh" "$pkgdir/usr/bin/virtualxrpg"
#mkdir -p "$pkgdir/opt/virtualx" #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}/virtualxrpg.x86_64" "$pkgdir/opt/virtualx/virtualxrpg.x86_64"
install -D -m 755 "${srcdir}/r3-game.arm64" "$pkgdir/opt/virtualx/r3-game.arm64" install -D -m 755 "${srcdir}/virtualxrpg.arm64" "$pkgdir/opt/virtualx/virtualxrpg.arm64"
install -D -m 644 "${srcdir}/r3-game.pck" "$pkgdir/opt/virtualx/r3-game.pck" install -D -m 644 "${srcdir}/virtualxrpg.pck" "$pkgdir/opt/virtualx/virtualxrpg.pck"
#chmod 755 "$pkgdir/opt/virtualx" #chmod 755 "$pkgdir/opt/virtualx"
# Install icon # Install icon
install -D -m 644 "${srcdir}/r3.png" "$pkgdir/usr/share/icons/hicolor/apps/r3-game.png" install -D -m 644 "${srcdir}/virtualxrpg.png" "$pkgdir/usr/share/icons/hicolor/apps/virtualxrpg.png"
# Install .desktop file # Install .desktop file
install -D -m 644 "${srcdir}/r3.desktop" "${pkgdir}/usr/share/applications/r3-game.desktop" install -D -m 644 "${srcdir}/virtualxrpg.desktop" "${pkgdir}/usr/share/applications/virtualxrpg.desktop"
} }

View file

@ -1,3 +1,3 @@
# r3-arch # virtualxrpg-arch
pkgbuild for arch linux pkgbuild for arch linux

View file

@ -1,9 +0,0 @@
[Desktop Entry]
Name=The Red Robot Radio
Exec=r3-game
Icon=/usr/share/icons/hicolor/apps/r3-game.png
Terminal=false
Type=Application
Categories=Game;
Keywords=Game;

BIN
r3.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

2
r3.sh
View file

@ -1,2 +0,0 @@
cd /opt/r3-game
python r3.py

9
virtualxrpg.desktop Normal file
View file

@ -0,0 +1,9 @@
[Desktop Entry]
Name=Midori in the Magic School
Exec=virtualxrpg
Icon=/usr/share/icons/hicolor/apps/virtualxrpg.png
Terminal=false
Type=Application
Categories=Game;
Keywords=Game;

BIN
virtualxrpg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB

View file

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