Permalink
Browse files

Added games-strategy/magarena-bin-1.24.ebuild

  • Loading branch information...
1 parent eac3cfa commit f1e6bb33766056eed69f09cfdfdc07711b684d8a @PaddyMac committed Apr 4, 2012
View
1 games-strategy/magarena-bin/Manifest
@@ -0,0 +1 @@
+DIST Magarena-1.24.zip 9986451 RMD160 a385cab7105462e744cc9281cb721627e6c21e7d SHA1 a244209094da3474dddfaa418066a5dfe1a03c97 SHA256 00d06f255ce3f41d938f2b381ac6615ef1947ef30ae44cbf5fafe6464c8a646b
View
37 games-strategy/magarena-bin/magarena-bin-1.24.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2008-2012 Funtoo Technologies
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+inherit games
+
+MY_PN="Magarena"
+
+DESCRIPTION="A single-player fantasy card game inspired by Magic: The Gathering"
+HOMEPAGE="http://code.google.com/p/magarena/"
+SRC_URI="http://magarena.googlecode.com/files/${MY_PN}-${PV}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/jre"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_install() {
+ exeinto "${GAMES_PREFIX_OPT}/${MY_PN}"
+ insinto "${GAMES_PREFIX_OPT}/${MY_PN}"
+ doins -r Magarena
+ doins Magarena.exe || die
+ doexe Magarena.sh || die
+ dodoc README.txt
+ cp Magarena/avatars/legend/avatar01.png Magarena.png
+ doicon Magarena.png
+ games_make_wrapper "magarena" "./Magarena.sh" "/opt/Magarena"
+ make_desktop_entry "${MY_PN}" "${MY_PN}" "${MY_PN}" "Game;StrategyGame;"
+ prepgamesdirs
+}
View
9 games-strategy/magarena-bin/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>doctorwhoguy@gmail.com</email>
+ <name>Patrick McMunn</name>
+ </maintainer>
+</pkgmetadata>

0 comments on commit f1e6bb3

Please sign in to comment.