aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonçalo Negrier Duarte <gonegrier.duarte@gmail.com>2023-12-28 17:41:45 +0000
committerGonçalo Negrier Duarte <gonegrier.duarte@gmail.com>2023-12-28 17:41:45 +0000
commit87ebb1745ad2254a4be299baeef587ae114c652c (patch)
treebb65083eb111c92db20d101ec782353e89c00fc6 /games-util/r2modman-bin
parentgames-util/r2modman-bin: new package, add 3.1.45 (diff)
downloadguru-87ebb1745ad2254a4be299baeef587ae114c652c.tar.gz
guru-87ebb1745ad2254a4be299baeef587ae114c652c.tar.bz2
guru-87ebb1745ad2254a4be299baeef587ae114c652c.zip
games-util/r2modman-bin: fix desktop file qa notice
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
Diffstat (limited to 'games-util/r2modman-bin')
-rw-r--r--games-util/r2modman-bin/files/r2modman.desktop2
-rw-r--r--games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild6
2 files changed, 2 insertions, 6 deletions
diff --git a/games-util/r2modman-bin/files/r2modman.desktop b/games-util/r2modman-bin/files/r2modman.desktop
index 5ca6a22fc..8a654b6ef 100644
--- a/games-util/r2modman-bin/files/r2modman.desktop
+++ b/games-util/r2modman-bin/files/r2modman.desktop
@@ -8,8 +8,6 @@ Name=r2modman
StartupNotify=true
Terminal=false
Type=Application
-Version=pkgversion
-X-AppImage-Version=pkgversion
X-KDE-SubstituteUID=false
MimeType=x-scheme-handler/ror2mm;
Categories=Game;
diff --git a/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild b/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild
index b01fad7c8..5d99b0671 100644
--- a/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild
+++ b/games-util/r2modman-bin/r2modman-bin-3.1.45.ebuild
@@ -4,6 +4,7 @@
EAPI=8
M_PN=r2modman
+M_PK=${PN::-3}
inherit desktop xdg
SRC_URI="https://github.com/ebkr/${M_PN}Plus/releases/download/v${PV}/${M_PN}-${PV}.tar.gz -> ${P}.tar.gz"
@@ -24,11 +25,8 @@ src_install() {
doins -r "${WORKDIR}/${M_PN}"
fperms 755 "/opt/${M_PN}/r2modman"
- ## Install desktop and icon file
- # Copy and fix version on desktop file version
+ # Install desktop file
domenu "${FILESDIR}/${M_PN}".desktop
- sed -i 's/Version=pkgversion/Version='${PV}'/g' "${D}/usr/share/applications/${M_PN}".desktop
- sed -i 's/X-AppImage-Version=pkgversion/X-AppImage-Version='${PV}'/g' "${D}/usr/share/applications/${M_PN}".desktop
# Install icons
newicon -s 16 "${FILESDIR}/${M_PN}"-16x16.png "${M_PN}".png