virtualxrpg-arch/PKGBUILD

43 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
pkgver=0.1.10
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-08-04 20:09:45 +02:00
arch=('any')
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-07-20 16:47:41 +02:00
depends=(embree3 freetype2 graphite harfbuzz harfbuzz-icu libglvnd libspeechd
libsquish libtheora libvorbis libwebp libwslay libxcursor libxi
libxinerama libxrandr mbedtls2 miniupnpc pcre2)
optdepends=('pipewire-alsa: for audio support'
'pipewire-pulse: for audio support')
2024-08-04 20:39:06 +02:00
source=("virtualxrpg.x86_64::https://git.asgardius.company/asgardius/midori-school/releases/download/R0.1.10-alpha/Midori%20in%20the%20Magic%20School.x86_64"
"virtualxrpg.arm64::https://git.asgardius.company/asgardius/midori-school/releases/download/R0.1.10-alpha/Midori%20in%20the%20Magic%20School.arm64"
"virtualxrpg.pck::https://git.asgardius.company/asgardius/midori-school/releases/download/R0.1.10-alpha/Midori%20in%20the%20Magic%20School.pck"
"local://virtualxrpg.desktop"
"local://virtualxrpg.sh"
"local://virtualxrpg.png")
sha512sums=('804242383a4bbaaa8abc4aba8aeb643bd5a900af1eda1ea8f1862072db8cd12683ea95d264b391300a5045d58eccc442b7cd72851c13bc9cbd9a963e5d57c5f3'
'a2e373fb934ce7b15986302754894a2be0591140e555f39c2a8ca4b3071e54cb36efb8ec95651f885607fb6b9399af9d959937041bf76066e4fef17fece56e81'
'dc6d3c35e57b55300f288e4963fad49b4679b0ae47d687bdfb60a3bb9bc3f5941d05d810d8ba72d05d6927d018123eccec3dd8c5825737fde49a3fc710e17d30'
'edbb91c9211b3b2e064c788668241efe1d1d226f1f53d61189c463e4bd3b61fb1e7dcf135c2a75d36a0fde552060302b7810d35b1de6fa0ba81eb87cd9395e40'
'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-08-04 20:39:06 +02:00
install -D -m 755 "${srcdir}/virtualxrpg.x86_64" "$pkgdir/opt/virtualx/virtualxrpg.x86_64"
install -D -m 755 "${srcdir}/virtualxrpg.arm64" "$pkgdir/opt/virtualx/virtualxrpg.arm64"
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
}