void-packages/srcpkgs/helden-software/patches/0001-fix-file-locations.patch

43 lines
1.5 KiB
Diff
Raw Normal View History

2021-09-25 21:35:22 +02:00
From adc2694cabe3c84cb37bdfef3211202b3e9daf66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Sat, 25 Sep 2021 10:32:19 +0200
Subject: [PATCH 1/2] fix file locations
---
usr/{games => bin}/helden-software | 2 +-
usr/share/applications/HeldenSoftware.desktop | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
rename usr/{games => bin}/helden-software (63%)
diff --git a/usr/games/helden-software b/usr/bin/helden-software
similarity index 63%
rename from usr/games/helden-software
rename to usr/bin/helden-software
index 49d866b..98cdbc1 100755
--- a/usr/games/helden-software
+++ b/usr/bin/helden-software
@@ -4,4 +4,4 @@ HeldenArgs=-hsDebianMode
if [ -f /etc/default/helden-software ] ; then
. /etc/default/helden-software
fi
-exec /usr/bin/java $JavaArgs -jar /usr/lib/heldensoftware/helden5.jar $HeldenArgs $@
\ No newline at end of file
+exec /usr/bin/java $JavaArgs -jar /usr/lib/helden-software/helden5.jar $HeldenArgs $@
diff --git a/usr/share/applications/HeldenSoftware.desktop b/usr/share/applications/HeldenSoftware.desktop
index 2c5ed8b..4319144 100644
--- a/usr/share/applications/HeldenSoftware.desktop
+++ b/usr/share/applications/HeldenSoftware.desktop
@@ -4,6 +4,6 @@ Type=Application
Terminal=false
Name=Helden-Software
Comment=Ein Generator fuer 'Das schwarze Auge' (DSA)
-Exec=/usr/games/helden-software
+Exec=/usr/bin/helden-software
Icon=helden-software
-Categories=Game;Java
+Categories=Game
--
2.36.1