diff --git a/srcpkgs/runelite-launcher/files/runelite.desktop b/srcpkgs/runelite-launcher/files/runelite.desktop deleted file mode 100644 index fa1c615f526..00000000000 --- a/srcpkgs/runelite-launcher/files/runelite.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Type=Application -Encoding=UTF-8 -Name=RuneLite -Comment=Open source Old School RuneScape client -Icon=/usr/share/pixmaps/runelite.png -Exec=/usr/bin/runelite -Terminal=false -StartupNotify=false -Categories=Game; diff --git a/srcpkgs/runelite-launcher/template b/srcpkgs/runelite-launcher/template index 419b1440521..47fbfc2d607 100644 --- a/srcpkgs/runelite-launcher/template +++ b/srcpkgs/runelite-launcher/template @@ -1,15 +1,15 @@ # Template file for 'runelite-launcher' pkgname=runelite-launcher -version=2.6.9 +version=2.7.1 revision=1 hostmakedepends="apache-maven openjdk11" depends="virtual?java-runtime" short_desc="Open source Old School RuneScape client" -maintainer="Orphaned " +maintainer="Emil Tomczyk " license="BSD-2-Clause" homepage="https://runelite.net" distfiles="https://github.com/runelite/launcher/archive/${version}.tar.gz" -checksum=cc5375f9e41669fcd22dfa68f6e17b80cc90b0db385d27dfcdd9f3e18e1c5100 +checksum=2b5e5f07b5961eeb419b275613ed9008cfcd62768604bca637a5ef37e54e722a do_build() { mvn package @@ -19,8 +19,11 @@ do_install() { vinstall target/RuneLite.jar 644 usr/share/runelite vbin ${FILESDIR}/runelite + vsed -i 's/${project.build.finalName}/RuneLite/' appimage/runelite.desktop + vsed -i 's/${project.description}/Launcher for RuneLite client/' appimage/runelite.desktop + vsed -i 's/Exec=.*/Exec=runelite/' appimage/runelite.desktop vinstall appimage/runelite.png 644 usr/share/pixmaps - vinstall ${FILESDIR}/runelite.desktop 644 usr/share/applications + vinstall appimage/runelite.desktop 644 usr/share/applications vlicense LICENSE }