diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-board/megamek | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-board/megamek')
-rw-r--r-- | games-board/megamek/Manifest | 3 | ||||
-rw-r--r-- | games-board/megamek/megamek-0.34.10-r1.ebuild | 50 | ||||
-rw-r--r-- | games-board/megamek/metadata.xml | 11 |
3 files changed, 64 insertions, 0 deletions
diff --git a/games-board/megamek/Manifest b/games-board/megamek/Manifest new file mode 100644 index 000000000000..5a1d2508bf3c --- /dev/null +++ b/games-board/megamek/Manifest @@ -0,0 +1,3 @@ +DIST MegaMek-v0.34.10.zip 16677286 BLAKE2B 73c4ee9e38b4c50221c40c5d0cba1c13de00e586bf2cb9432c356f5c21045c26cfa64705b303c7213f29deda369a97ea5fba397c995c138731a66152c062c5b5 SHA512 943f6ed4f4d57197092a7aa09637f60827f23181a7b8b0991907fcc62109b471ea2ce53816a79dfcad9d8da65c9514be3190e924d9bf2b17aacf84fc1fa6e037 +EBUILD megamek-0.34.10-r1.ebuild 1053 BLAKE2B e9dae9a8ff3f3ee050166d1db15dfb752254ab2c19e4f96fe949c66430de78188b3b8bc442c9c7b1ae8d3c23719707a13a9c534a2750a35438d7221ec82de1d6 SHA512 126ee03e5a9dd995101da2e6c1d63de25d238a6838e595638aac3793ce76270016d1e94bb7a7a417cb7535cbf0e59acd7c03276ad2b973f35703f032486c19ed +MISC metadata.xml 330 BLAKE2B 08bb146ebca0d9f6e0006d1d6d615a93434dc4a98f363da9da16eba5649678fc36325cdd84253a9f8d3ad72cc165d783228db019026380e447a5242365b29e06 SHA512 e2b391074805c40a32f3a2d74db870e75c5a9cb0413b15b41b43cf7bf16a6bf90363c3d1eb1b6c1fccbc4f44defcadbf44bea218b1a5f3d4fb66a4428e5b5cde diff --git a/games-board/megamek/megamek-0.34.10-r1.ebuild b/games-board/megamek/megamek-0.34.10-r1.ebuild new file mode 100644 index 000000000000..6b3fe5a0bb91 --- /dev/null +++ b/games-board/megamek/megamek-0.34.10-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="an unofficial, online version of the Classic BattleTech board game" +HOMEPAGE="http://megamek.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/MegaMek-v${PV}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip" +RDEPEND=">=virtual/jre-1.5" + +S=${WORKDIR} + +pkg_setup() { + java-pkg-2_pkg_setup +} + +src_prepare() { + default + + rm -v *.jar || die + edos2unix startup.sh + sed -i \ + -e "s:XmX:Xmx:" \ + -e "s:/usr/share/java:/usr/share/${PN}:" \ + -e "s:/usr/share/MegaMek:/usr/share/${PN}:" \ + startup.sh || die "sed failed" + java-pkg-2_src_prepare +} + +src_compile() { + eant +} + +src_install() { + newbin startup.sh ${PN} + insinto /usr/share/${PN} + doins -r data docs l10n lib mmconf *.jar readme* + dodoc HACKING readme.txt + make_desktop_entry ${PN} MegaMek /usr/share/pixmaps/${PN}.gif + newicon data/images/misc/megamek-icon.gif ${PN}.gif +} diff --git a/games-board/megamek/metadata.xml b/games-board/megamek/metadata.xml new file mode 100644 index 000000000000..1c5cb53716e8 --- /dev/null +++ b/games-board/megamek/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">megamek</remote-id> + </upstream> +</pkgmetadata> |