virtualxrpg-arch/PKGBUILD

46 lines
2.6 KiB
Bash
Raw Normal View History

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-12-07 22:58:04 +01:00
pkgver=0.3.3
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-11-10 17:02:35 +01:00
sha512sums=('e30432723949130050a5d28867363fb82b86d9a1438ecabb1103f6a764e868b205f9260e58a604ab70927b83e6f126ef5e98d5ba02bbf6311a66705b73a88a0f'
'3e4dff4c92177b5f574470019d3aa26ab0bbcae211b2bacfba385f3e349702653c75624ec71bb106b86cbf2ccec769efd739141b84b77e5887d8d3e20f49b24c'
2024-12-07 22:58:04 +01:00
'325b620b28841041d41d89bf614f36fc5acd943dc409f71aff0d20496bd5fa3e01c78c89a38ec6dac8fa78012156022bf4d5461d51ed59721c1a6bf7c7ecd48c'
2024-11-30 17:46:33 +01:00
'5339d1297691a8d78f16f55778e5b5bd5110f1400c5815bc1f442337822c7b1eecd049a18037fe7986945c96f033af4634f647328f4ffa6129419a61ebb90526'
2024-10-27 17:57:27 +01:00
'f3afa681fea8f5f07e6586f565e4a60c1b407e947506bafc8311832a75d2c4126ee0b1c5b5e3fdb7216d184bceeab9fe7878cf6f996c5aad7f64ebd1d0484a28'
2024-08-04 20:39:06 +02:00
'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
}