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:
parent
1b641da1af
commit
09b96967a0
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user