Minecraft-Launcher: Use fperms with numbers
This commit is contained in:
parent
11dafa14e2
commit
a175738231
@ -4,7 +4,7 @@
|
|||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
DESCRIPTION="The official Minecraft launcher"
|
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"
|
SRC_URI="https://launcher.mojang.com/download/Minecraft.tar.gz"
|
||||||
|
|
||||||
LICENSE=""
|
LICENSE=""
|
||||||
@ -18,13 +18,10 @@ BDEPEND=""
|
|||||||
|
|
||||||
S="${WORKDIR}/minecraft-launcher"
|
S="${WORKDIR}/minecraft-launcher"
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
chmod a+x minecraft-launcher
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dodir /usr/share/${PN}
|
dodir /usr/share/${PN}
|
||||||
insinto /usr/share/${PN}
|
insinto /usr/share/${PN}
|
||||||
doins *
|
doins *
|
||||||
|
fperms 555 minecraft-launcher
|
||||||
dosym /usr/share/${PN}/minecraft-launcher /usr/bin/${PN}
|
dosym /usr/share/${PN}/minecraft-launcher /usr/bin/${PN}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user