2019-05-04 21:47:56 +02:00
|
|
|
# Copyright 2019 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
|
|
DESCRIPTION="The official Minecraft launcher"
|
|
|
|
HOMEPAGE="https://www.minecraft.net/fr-fr/download/alternative/"
|
|
|
|
SRC_URI="https://launcher.mojang.com/download/Minecraft.tar.gz"
|
|
|
|
|
|
|
|
LICENSE=""
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
2019-05-04 21:51:27 +02:00
|
|
|
DEPEND="~virtual/jre-1.8.0"
|
2019-05-04 21:47:56 +02:00
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND=""
|
|
|
|
|
2019-05-04 22:12:44 +02:00
|
|
|
S="${WORKDIR}/minecraft-launcher"
|
2019-05-04 21:53:39 +02:00
|
|
|
|
2019-05-04 21:47:56 +02:00
|
|
|
src_install() {
|
2019-05-04 22:48:00 +02:00
|
|
|
dodir /usr/share/${PN}
|
|
|
|
insinto /usr/share/${PN}
|
2019-05-04 21:55:01 +02:00
|
|
|
doins *
|
2019-05-04 22:51:31 +02:00
|
|
|
fperms a+x /usr/share/${PN}
|
2019-05-04 22:01:21 +02:00
|
|
|
dosym /usr/share/${PN}/minecraft-launcher /usr/bin/${PN}
|
2019-05-04 21:47:56 +02:00
|
|
|
}
|