diff options
author | Marcin Deranek <marcin.deranek@booking.com> | 2020-05-13 12:57:48 +0200 |
---|---|---|
committer | Marcin Deranek <marcin.deranek@booking.com> | 2020-05-13 12:57:48 +0200 |
commit | df5cf4d88d3e5a766e972f1bf3a508349261600c (patch) | |
tree | e91458b3debd773f1f5d7c5601c5f5b4a2edb643 /games-action/minecraft/minecraft-29.ebuild | |
parent | 71fca106ff9d305ff669e11f89057c4c5f4ebe89 (diff) | |
download | portage-df5cf4d88d3e5a766e972f1bf3a508349261600c.tar.gz portage-df5cf4d88d3e5a766e972f1bf3a508349261600c.tar.bz2 portage-df5cf4d88d3e5a766e972f1bf3a508349261600c.zip |
Updated version
Diffstat (limited to 'games-action/minecraft/minecraft-29.ebuild')
-rw-r--r-- | games-action/minecraft/minecraft-29.ebuild | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/games-action/minecraft/minecraft-29.ebuild b/games-action/minecraft/minecraft-29.ebuild deleted file mode 100644 index f60e90a..0000000 --- a/games-action/minecraft/minecraft-29.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit games java-utils-2 - -DESCRIPTION="An open-world game whose gameplay revolves around breaking and placing blocks" -HOMEPAGE="http://www.minecraft.net" -SRC_URI=" - https://github.com/Tabinol/gentoo-minecraft/archive/${PV}.tar.gz -> ${P}.tar.gz - https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar -> ${PN}.jar" - -LICENSE="Mojang" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="mirror" - -S="${WORKDIR}/gentoo-minecraft-${PV}" - -RDEPEND=" - >=virtual/jre-1.8.0 - >=x11-apps/xrandr-1.4.3 - virtual/ttf-fonts" - -DEPEND="" - -pkg_setup() { - games_pkg_setup -} - -src_unpack() { - unpack ${P}.tar.gz -} - -src_prepare() { - sed --in-place "s:@GENTOO_PORTAGE_EPREFIX@:${EPREFIX}:g" "${PN}" || die -} - -src_install() { - java-pkg_dojar "${DISTDIR}/${PN}.jar" - dogamesbin "${PN}" - doicon "${PN}.png" - make_desktop_entry "${PN}" "Minecraft" - - prepgamesdirs -} - -pkg_postinst() { - ewarn "if you are doing an update, consider to remove minecraft-gentoo call" - ewarn "in Minecraft launcher configuration which is no longer installed." - ewarn "Every Minecraft versions should work." - echo - - games_pkg_postinst -} |