24 lines
532 B
Bash
24 lines
532 B
Bash
|
# 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=""
|
||
|
|
||
|
DEPEND="~virtual/java-1.8.0"
|
||
|
RDEPEND="${DEPEND}"
|
||
|
BDEPEND=""
|
||
|
|
||
|
src_install() {
|
||
|
dodir "/usr/share/${P}"
|
||
|
insinto "/usr/share/${P}"
|
||
|
doins .*
|
||
|
dosym /usr/bin/${P} /usr/share/${P}/minecraft-launcher
|
||
|
}
|