diff options
author | Shatur95 | 2020-11-21 03:49:50 +0200 |
---|---|---|
committer | Shatur95 | 2020-11-21 03:49:50 +0200 |
commit | 842aac4a53b7e913487ba76fb1e8ecc4730e3161 (patch) | |
tree | 58d25adafc01ba52dc9af298a27659547fe5731c | |
parent | 47ad6b2ec3e99b120de063159f92c079b85a83ee (diff) | |
download | aur-842aac4a53b7e913487ba76fb1e8ecc4730e3161.tar.gz |
Fix .desktop file
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | com.unrealengine.UE4Editor.desktop | 2 |
3 files changed, 6 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = unreal-engine pkgdesc = A 3D game engine by Epic Games which can be used non-commercially for free. pkgver = 4.25.4 - pkgrel = 1 + pkgrel = 2 url = https://www.unrealengine.com/ arch = x86_64 license = custom:UnrealEngine @@ -24,7 +24,7 @@ pkgbase = unreal-engine options = staticlibs source = com.unrealengine.UE4Editor.desktop source = use-arch-mono.patch - sha256sums = fa4bd19ab53e91cc8b4ae6208452a7fe986a08047617213d6250b43e7a140bf3 + sha256sums = 15e9f9d8dc8bd8513f6a5eca990e2aab21fd38724ad57d213b06a6610a951d58 sha256sums = e891f07bf7294cd5fde8eb6de92e6d47ed004847ea8afd7c944e9b9b2bacaff4 pkgname = unreal-engine @@ -5,7 +5,7 @@ # The source is about 200 MiB, with an extra ~11 GiB of dependencies downloaded in Setup.sh, and may take several hours to compile. pkgname=unreal-engine pkgver=4.25.4 -pkgrel=1 +pkgrel=2 pkgdesc='A 3D game engine by Epic Games which can be used non-commercially for free.' arch=(x86_64) url=https://www.unrealengine.com/ @@ -20,7 +20,7 @@ optdepends=('qt5-base: qmake build system for projects' license=(custom:UnrealEngine) source=(com.unrealengine.UE4Editor.desktop use-arch-mono.patch) -sha256sums=(fa4bd19ab53e91cc8b4ae6208452a7fe986a08047617213d6250b43e7a140bf3 +sha256sums=(15e9f9d8dc8bd8513f6a5eca990e2aab21fd38724ad57d213b06a6610a951d58 e891f07bf7294cd5fde8eb6de92e6d47ed004847ea8afd7c944e9b9b2bacaff4) options=(!strip staticlibs) @@ -78,6 +78,7 @@ package() { if [ "$dir" != "opt/$pkgname" ] # Set new path if dir changed then sed -i "5c\Path=/$dir/Engine/Binaries/Linux/" com.unrealengine.UE4Editor.desktop + sed -i "6c\Exec=/$dir/Engine/Binaries/Linux/UE4Editor %F" com.unrealengine.UE4Editor.desktop fi install -Dm644 com.unrealengine.UE4Editor.desktop $pkgdir/usr/share/applications/com.unrealengine.UE4Editor.desktop diff --git a/com.unrealengine.UE4Editor.desktop b/com.unrealengine.UE4Editor.desktop index 7c07a174abbe..d86cd555754d 100644 --- a/com.unrealengine.UE4Editor.desktop +++ b/com.unrealengine.UE4Editor.desktop @@ -3,7 +3,7 @@ Type=Application Name=Unreal Engine 4 Editor Comment=Create next-generation video games Path=/opt/unreal-engine/Engine/Binaries/Linux/ -Exec=UE4Editor %F +Exec=/opt/unreal-engine/Engine/Binaries/Linux/UE4Editor %F MimeType=text/x-uproject Icon=ue4editor Terminal=false |