commit 2af8f684ef89065da2a087434ac0bead5783181f Author: kinker31 Date: Thu Jul 3 03:52:22 2025 -0500 Initial Commit, based on a previous package diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000000000..04fe9e92a591d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = helion + pkgdesc = A modern Doom FPS engine, made with C# and GPU usage in mind + pkgver = 0.9.7.0 + pkgrel = 1 + url = https://github.com/Helion-Engine/Helion + arch = x86_64 + license = GPL3 + makedepends = dotnet-runtime + makedepends = clang + depends = openal + depends = fluidsynth + depends = sdl2 + depends = glfw + depends = zmusic>=1.1.8 + conflicts = helion-git + conflicts = helion-bin + source = https://github.com/Helion-Engine/Helion/archive/refs/tags/0.9.7.0.tar.gz + source = helion.desktop + source = helion.ico + sha256sums = 303391cbbba2688ae9697bc6688b2139e15bc8e9deaa2f23df39f17893a2aa69 + sha256sums = dd02c430e093c2cfcdfaedfc316975af8ac47883676a05c26ac0a22a6f1b9c6b + sha256sums = 9590d5b920d2350a9f4ed8311f3195e619ebb168841e7d783cb652d142182c82 + +pkgname = helion diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000000000..fd728a439deab --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: kinker31 +pkgname=helion +pkgver=0.9.7.0 +pkgrel=1 +pkgdesc="A modern Doom FPS engine, made with C# and GPU usage in mind" +arch=('x86_64') +url="https://github.com/Helion-Engine/Helion" +license=('GPL3') +# Might be a good idea investigating if we can ignore most of the dependencies or not. +depends=('openal' 'fluidsynth' 'sdl2' 'glfw' 'zmusic>=1.1.8') +makedepends=('dotnet-runtime' 'clang') +conflicts=('helion-git' 'helion-bin') +source=("https://github.com/Helion-Engine/Helion/archive/refs/tags/${pkgver}.tar.gz" "helion.desktop" "helion.ico") +sha256sums=('303391cbbba2688ae9697bc6688b2139e15bc8e9deaa2f23df39f17893a2aa69' 'dd02c430e093c2cfcdfaedfc316975af8ac47883676a05c26ac0a22a6f1b9c6b' '9590d5b920d2350a9f4ed8311f3195e619ebb168841e7d783cb652d142182c82') +build() { + cd "Helion/Client" + dotnet publish \ + -c Release \ + -r linux-x64 \ + -p:SelfContainedRelease=true \ + -p:AOT=true +} +package() { + cd "Helion/Publish/linux-x64_AOT/" + #There might be a better way of going about this, but right now this works. + mkdir -m=644 -p "$pkgdir"/opt/Helion/SoundFonts + install -Dm755 ./Helion "$pkgdir"/opt/Helion/ + install -Dm644 ./assets.pk3 "$pkgdir"/opt/Helion/ + install -Dm644 ./libfluidsynth.so.3 "$pkgdir"/opt/Helion/ + install -Dm644 ./libglfw.so.3 "$pkgdir"/opt/Helion/ + install -Dm644 ./libSDL2.so "$pkgdir"/opt/Helion/ + install -Dm644 ./libzmusic.so "$pkgdir"/opt/Helion/ + install -Dm644 ./README.md "$pkgdir"/opt/Helion/ + install -Dm644 ./SoundFonts/Default.sf2 "$pkgdir"/opt/Helion/SoundFonts/ + mkdir -m=644 -p "$pkgdir"/usr/share/applications/ && mkdir -m=644 -p "$pkgdir"/usr/share/icons/ + install -Dm755 "$srcdir"/helion.desktop "$pkgdir"/usr/share/applications/helion.desktop + install -Dm755 "$srcdir"/helion.ico "$pkgdir"/usr/share/pixmaps/helion.ico +} \ No newline at end of file diff --git a/helion.desktop b/helion.desktop new file mode 100644 index 0000000000000..ee853ecd057c4 --- /dev/null +++ b/helion.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Helion +Type=Application +Icon=/usr/share/pixmaps/helion.ico +Comment=Modern Doom engine, made in C# +Exec=./Helion +Terminal=false +StartupNotify=true +Path=/opt/Helion/ diff --git a/helion.ico b/helion.ico new file mode 100644 index 0000000000000..037d8abad2891 Binary files /dev/null and b/helion.ico differ