[games-strategy/dunelegacy] Dune II Opensource clone
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>
Sat, 10 Dec 2011 19:35:36 +0000 (01:35 +0600)
committerAzamat H. Hackimov <azamat.hackimov@gmail.com>
Sat, 10 Dec 2011 19:35:36 +0000 (01:35 +0600)
(Portage version: 2.1.10.11/git/Linux x86_64, unsigned Manifest commit)

games-strategy/dunelegacy/Manifest [new file with mode: 0644]
games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild [new file with mode: 0644]
games-strategy/dunelegacy/metadata.xml [new file with mode: 0644]

diff --git a/games-strategy/dunelegacy/Manifest b/games-strategy/dunelegacy/Manifest
new file mode 100644 (file)
index 0000000..45b15f7
--- /dev/null
@@ -0,0 +1,3 @@
+DIST dunelegacy-0.96.2-src.tar.bz2 1437524 RMD160 b8c6c913f1258e1e95a5d20f8fcfed814c116934 SHA1 40fd46f2fbbb457cb25f1ca5e23683bf21335eac SHA256 bdf27bdaa001f37db52ab4747bd563b48334db5df6e6e8314de85a0340649173
+EBUILD dunelegacy-0.96.2.ebuild 832 RMD160 48da68125a1a8d616439b375717e8b608ff07be9 SHA1 903ddadcb5aa16999d334951f98d6bed2dfa9516 SHA256 c75c0eaa23cdfee58ff97c805ea965adf9ec9d1ca89b3b8132483b6b6a136884
+MISC metadata.xml 470 RMD160 cf147aaddff76e68f13e82de797e4181b4b4deb0 SHA1 e96f69466e184d0ab66b2f51f32867261a2ec6fb SHA256 4524a4c3f260133799cd73ee699dc4cc98361a3ce10a401b8beb87712a976e40
diff --git a/games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild b/games-strategy/dunelegacy/dunelegacy-0.96.2.ebuild
new file mode 100644 (file)
index 0000000..ba0118c
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+inherit eutils games
+
+DESCRIPTION="Dune Legacy is an open source clone of Dune 2."
+HOMEPAGE="http://dunelegacy.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libsdl
+       media-libs/sdl-mixer"
+DEPEND="${RDEPEND}"
+
+src_install() {
+       dogamesbin src/${PN} || die "dogamesbin failed"
+
+       insinto "${GAMES_DATADIR}"/${PN}
+       doins -r data/* || die "doins failed"
+
+       domenu ${PN}.desktop
+       doicon ${PN}.png
+
+       prepgamesdirs
+}
+
+pkg_postinst() {
+       elog "You will need to copy all Dune 2 *.PAK files to ${GAMES_DATADIR}/${PN}"
+       elog "For playing in german or french you need additionally GERMAN.PAK"
+       elog "or FRENCH.PAK."
+}
diff --git a/games-strategy/dunelegacy/metadata.xml b/games-strategy/dunelegacy/metadata.xml
new file mode 100644 (file)
index 0000000..7cdbc8b
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>azamat.hackimov@gmail.com</email>
+<name>Azamat H. Hackimov</name>
+</maintainer>
+<longdescription lang="en">
+Dune Legacy is an open source clone of Dune 2.
+</longdescription>
+<longdescription lang="ru">
+Dune Legacy - открытая реализация игры Dune 2.
+</longdescription>
+</pkgmetadata>