Minecraft-Launcher: Use fperms with numbers

This commit is contained in:
TheDevKiller 2019-05-04 23:46:27 +02:00
parent 11dafa14e2
commit a175738231

View File

@ -4,7 +4,7 @@
EAPI=7
DESCRIPTION="The official Minecraft launcher"
HOMEPAGE="https://www.minecraft.net/fr-fr/download/alternative/!"
HOMEPAGE="https://www.minecraft.net/fr-fr/download/alternative/"
SRC_URI="https://launcher.mojang.com/download/Minecraft.tar.gz"
LICENSE=""
@ -18,13 +18,10 @@ BDEPEND=""
S="${WORKDIR}/minecraft-launcher"
src_configure() {
chmod a+x minecraft-launcher
}
src_install() {
dodir /usr/share/${PN}
insinto /usr/share/${PN}
doins *
fperms 555 minecraft-launcher
dosym /usr/share/${PN}/minecraft-launcher /usr/bin/${PN}
}