games-strategy/mindustry: replace hardcoded names with ebuild variables

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć 2020-09-14 19:43:53 +02:00
parent 1b641da1af
commit 09b96967a0
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A

View File

@ -32,8 +32,8 @@ src_install() {
insinto "/opt/${MY_PN}" insinto "/opt/${MY_PN}"
doins "${MY_PN}.jar" doins "${MY_PN}.jar"
make_wrapper "mindustry" "java -jar /opt/${MY_PN}/${MY_PN}.jar" make_wrapper "${PN}" "java -jar /opt/${MY_PN}/${MY_PN}.jar"
make_desktop_entry "mindustry" "Mindustry" "mindustry" "Game;StrategyGame;" make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "Game;StrategyGame;"
} }
pkg_postinst() { pkg_postinst() {