2022-04-25 03:27:32 +02:00
# Maintainer: Page Asgardius <asgardius@asgardius.company>
2024-08-04 20:39:06 +02:00
pkgname = midori-school
2024-09-27 22:30:01 +02:00
pkgver = 0.2.0
2022-04-25 03:27:32 +02:00
pkgrel = 1
2024-08-04 20:39:06 +02:00
pkgdesc = "The only Open Source Genshin Killer (made with godot)"
2024-09-09 16:42:27 +02:00
arch = ( 'aarch64' 'x86_64' )
2024-08-04 20:39:06 +02:00
url = "https://git.asgardius.company/asgardius/midori-school"
2022-04-25 03:27:32 +02:00
license = ( 'GPL' )
2024-09-09 18:31:08 +02:00
depends = ( freetype2 graphite harfbuzz harfbuzz-icu libglvnd libspeechd
2024-09-09 18:36:23 +02:00
libtheora libvorbis libwebp libwslay libxcursor libxi
2024-07-20 16:47:41 +02:00
libxinerama libxrandr mbedtls2 miniupnpc pcre2)
optdepends = ( 'pipewire-alsa: for audio support'
'pipewire-pulse: for audio support' )
2024-09-27 22:30:01 +02:00
source = ( " virtualxrpg.x86_64::https://elda.asgardius.company/virtualxrpg-dl/virtualxrpg-R $pkgver -beta/Midori%20in%20the%20Magic%20School.x86_64 "
" virtualxrpg.arm64::https://elda.asgardius.company/virtualxrpg-dl/virtualxrpg-R $pkgver -beta/Midori%20in%20the%20Magic%20School.arm64 "
" virtualxrpg.pck::https://elda.asgardius.company/virtualxrpg-dl/virtualxrpg-R $pkgver -beta/Midori%20in%20the%20Magic%20School.pck "
2024-08-04 20:39:06 +02:00
"local://virtualxrpg.desktop"
"local://virtualxrpg.sh"
"local://virtualxrpg.png" )
2024-09-09 16:42:27 +02:00
sha512sums = ( '4feb7b69fe4876650944a3750e07281e2a229528f396ba059d48327ff801545836ec1344125533671b9e2e9a9e3f0c9e167d65069cf492745cca8bfe0850b522'
'23b9cce30b2a4e67e88c1a21c555e6489831de81ba11f241a857d64400ca260361fa0a8b572e0cdc6ed7b969f3079e76a381b7795d3f90771af203e540145678'
2024-09-27 22:30:01 +02:00
'c609fa31f68456ea4deffcc1c83c9e1d6ba59a58603570f3ff059df488d8aaef14df715dbb6d585675fd970e0891858ab885213efc19fe6dd0152135826a6a44'
'e3a5a15da5751f9cf416990484adfe88c36ebca0d2e8071c8e10287c1d9efd4b28e9fcff4dd9684016b9813268164e74863439599df406dc6141afe93af456a9'
2024-08-04 20:39:06 +02:00
'c129c16a8021efd5f4cadbaad431a168d5dd987dc236763c9fdc0a42ee69340c4f62b4a716352522765e004c6a64155bfce7cbd7b402df5c1527a6dc17519c88'
'797411c12ab89708d719ad4e466457d83d96223d5df5b94d966312744b6061226b5b046149c912ee910e86f737ddb0fc8ded6038b5d955bde639b361165767d5' ) #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
2024-08-04 20:39:06 +02:00
install -D -m 755 " ${ srcdir } /virtualxrpg.sh " " $pkgdir /usr/bin/virtualxrpg "
2024-08-04 20:09:45 +02:00
#mkdir -p "$pkgdir/opt/virtualx"
2024-09-09 16:42:27 +02:00
if uname -m | grep -q 'x86_64' ; then
install -D -m 755 " ${ srcdir } /virtualxrpg.x86_64 " " $pkgdir /opt/virtualx/virtualxrpg.x86_64 "
else
install -D -m 755 " ${ srcdir } /virtualxrpg.arm64 " " $pkgdir /opt/virtualx/virtualxrpg.arm64 "
fi
2024-08-04 20:39:06 +02:00
install -D -m 644 " ${ srcdir } /virtualxrpg.pck " " $pkgdir /opt/virtualx/virtualxrpg.pck "
2024-08-04 20:09:45 +02:00
#chmod 755 "$pkgdir/opt/virtualx"
2024-07-20 16:47:41 +02:00
# Install icon
2024-08-04 20:39:06 +02:00
install -D -m 644 " ${ srcdir } /virtualxrpg.png " " $pkgdir /usr/share/icons/hicolor/apps/virtualxrpg.png "
2024-07-20 16:47:41 +02:00
# Install .desktop file
2024-08-04 20:39:06 +02:00
install -D -m 644 " ${ srcdir } /virtualxrpg.desktop " " ${ pkgdir } /usr/share/applications/virtualxrpg.desktop "
2024-07-20 16:47:41 +02:00
}