virtualxrpg-arch/PKGBUILD
2024-09-09 09:36:23 -07:00

45 lines
2.7 KiB
Bash

# Maintainer: Page Asgardius <asgardius@asgardius.company>
pkgname=midori-school
pkgver=0.1.11
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://git.asgardius.company/asgardius/midori-school/releases/download/R$pkgver-alpha/Midori%20in%20the%20Magic%20School.x86_64"
"virtualxrpg.arm64::https://git.asgardius.company/asgardius/midori-school/releases/download/R$pkgver-alpha/Midori%20in%20the%20Magic%20School.arm64"
"virtualxrpg.pck::https://git.asgardius.company/asgardius/midori-school/releases/download/R$pkgver-alpha/Midori%20in%20the%20Magic%20School.pck"
"local://virtualxrpg.desktop"
"local://virtualxrpg.sh"
"local://virtualxrpg.png")
sha512sums=('4feb7b69fe4876650944a3750e07281e2a229528f396ba059d48327ff801545836ec1344125533671b9e2e9a9e3f0c9e167d65069cf492745cca8bfe0850b522'
'23b9cce30b2a4e67e88c1a21c555e6489831de81ba11f241a857d64400ca260361fa0a8b572e0cdc6ed7b969f3079e76a381b7795d3f90771af203e540145678'
'056e8e865807d6e60ffb4d2c8fc2a2166b93de7d50744dd3c257d5186fb403c5076e25757d34f61caf25e0b17dd2fd4f8ffc9b0e29f406e2f48354dcf05bc3a3'
'edbb91c9211b3b2e064c788668241efe1d1d226f1f53d61189c463e4bd3b61fb1e7dcf135c2a75d36a0fde552060302b7810d35b1de6fa0ba81eb87cd9395e40'
'c129c16a8021efd5f4cadbaad431a168d5dd987dc236763c9fdc0a42ee69340c4f62b4a716352522765e004c6a64155bfce7cbd7b402df5c1527a6dc17519c88'
'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"
}