summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-11-19 14:39:43 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-11-19 14:39:43 +0000
commitcf727135f7939b81aa4901a2ba58d3f626990138 (patch)
treebe0a75cb8d31bdb48b74644f7928db44b497f992 /games-strategy
parentVersion bump (diff)
downloadgentoo-2-cf727135f7939b81aa4901a2ba58d3f626990138.tar.gz
gentoo-2-cf727135f7939b81aa4901a2ba58d3f626990138.tar.bz2
gentoo-2-cf727135f7939b81aa4901a2ba58d3f626990138.zip
Initial commit wrt bug #358209. Thanks to Sven Eden for initial ebuild
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/seven-kingdoms-data/ChangeLog10
-rw-r--r--games-strategy/seven-kingdoms-data/metadata.xml8
-rw-r--r--games-strategy/seven-kingdoms-data/seven-kingdoms-data-2.13.ebuild44
3 files changed, 62 insertions, 0 deletions
diff --git a/games-strategy/seven-kingdoms-data/ChangeLog b/games-strategy/seven-kingdoms-data/ChangeLog
new file mode 100644
index 000000000000..f020cdd72c0a
--- /dev/null
+++ b/games-strategy/seven-kingdoms-data/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-strategy/seven-kingdoms-data
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/seven-kingdoms-data/ChangeLog,v 1.1 2012/11/19 14:39:43 pinkbyte Exp $
+
+*seven-kingdoms-data-2.13 (19 Nov 2012)
+
+ 19 Nov 2012; Sergey Popov <pinkbyte@gentoo.org>
+ +seven-kingdoms-data-2.13.ebuild, +metadata.xml:
+ Initial commit wrt bug #358209. Thanks to Sven Eden for initial ebuild
+
diff --git a/games-strategy/seven-kingdoms-data/metadata.xml b/games-strategy/seven-kingdoms-data/metadata.xml
new file mode 100644
index 000000000000..b6b8956cde34
--- /dev/null
+++ b/games-strategy/seven-kingdoms-data/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/games-strategy/seven-kingdoms-data/seven-kingdoms-data-2.13.ebuild b/games-strategy/seven-kingdoms-data/seven-kingdoms-data-2.13.ebuild
new file mode 100644
index 000000000000..10fd029152af
--- /dev/null
+++ b/games-strategy/seven-kingdoms-data/seven-kingdoms-data-2.13.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/seven-kingdoms-data/seven-kingdoms-data-2.13.ebuild,v 1.1 2012/11/19 14:39:43 pinkbyte Exp $
+
+EAPI=4
+
+inherit games
+
+MY_PN="7kaa"
+
+DESCRIPTION="Seven Kingdoms: Ancient Adversaries game data files"
+HOMEPAGE="http://7kfans.com/"
+SRC_URI="mirror://sourceforge/skfans/${MY_PN}-data-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_install() {
+ # Install readme and remove unneeded files
+ newdoc README-GameData README
+ rm README-GameData COPYING || die 'rm failed'
+
+ # Install game data
+ insinto "${GAMES_DATADIR}/${MY_PN}"
+ doins -r *
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ elog
+ elog 'This tarball does not contain music files for Seven Kingodoms, as said on 7kfans.com:'
+ elog '"The music is the work of Bjorn Lynne Copyright (c) 1997, and is not provided under the GPL.'
+ elog 'It may be freely downloaded and used with Seven Kingdoms, but not modified or repurposed into derivative works."'
+ elog
+ games_pkg_postinst
+}