Initial Commit, based on a previous package

This commit is contained in:
kinker31 2025-07-03 03:52:22 -05:00
commit 2af8f684ef
4 changed files with 71 additions and 0 deletions

24
.SRCINFO Normal file
View file

@ -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

38
PKGBUILD Normal file
View file

@ -0,0 +1,38 @@
# Maintainer: kinker31<dp223171@gmail.com>
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
}

9
helion.desktop Normal file
View file

@ -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/

BIN
helion.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB