# Maintainer: Page Asgardius pkgname=midori-school pkgver=0.3.0 pkgrel=1 pkgdesc="The only Open Source Genshin Killer (made with godot)" arch=('aarch64' 'x86_64') url="https://git.asgardius.company/asgardius/midori-school" license=('GPL') 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=("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" "local://virtualxrpg.desktop" "local://virtualxrpg.sh" "local://virtualxrpg.png") sha512sums=('e30432723949130050a5d28867363fb82b86d9a1438ecabb1103f6a764e868b205f9260e58a604ab70927b83e6f126ef5e98d5ba02bbf6311a66705b73a88a0f' '3e4dff4c92177b5f574470019d3aa26ab0bbcae211b2bacfba385f3e349702653c75624ec71bb106b86cbf2ccec769efd739141b84b77e5887d8d3e20f49b24c' 'aa8268ec4c502ef2080f5fcbf5039fc03e9894704c70ea643cdc96044ec43478db6c5937308ae42caeee58538d90601f51b6fcb419d92b5822759242c06a2364' 'e3a5a15da5751f9cf416990484adfe88c36ebca0d2e8071c8e10287c1d9efd4b28e9fcff4dd9684016b9813268164e74863439599df406dc6141afe93af456a9' 'f3afa681fea8f5f07e6586f565e4a60c1b407e947506bafc8311832a75d2c4126ee0b1c5b5e3fdb7216d184bceeab9fe7878cf6f996c5aad7f64ebd1d0484a28' '797411c12ab89708d719ad4e466457d83d96223d5df5b94d966312744b6061226b5b046149c912ee910e86f737ddb0fc8ded6038b5d955bde639b361165767d5') #autofill using updpkgsums package() { # Install Game executable and data files install -D -m 755 "${srcdir}/virtualxrpg.sh" "$pkgdir/usr/bin/virtualxrpg" #mkdir -p "$pkgdir/opt/virtualx" 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 install -D -m 644 "${srcdir}/virtualxrpg.pck" "$pkgdir/opt/virtualx/virtualxrpg.pck" #chmod 755 "$pkgdir/opt/virtualx" # Install icon install -D -m 644 "${srcdir}/virtualxrpg.png" "$pkgdir/usr/share/icons/hicolor/apps/virtualxrpg.png" # Install .desktop file install -D -m 644 "${srcdir}/virtualxrpg.desktop" "${pkgdir}/usr/share/applications/virtualxrpg.desktop" }