/[gentoo-x86]/games-strategy/seven-kingdoms-data/seven-kingdoms-data-2.13.ebuild
Gentoo

Contents of /games-strategy/seven-kingdoms-data/seven-kingdoms-data-2.13.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Nov 19 14:39:43 2012 UTC (23 months ago) by pinkbyte
Branch: MAIN
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)

1 pinkbyte 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     EAPI=4
6    
7     inherit games
8    
9     MY_PN="7kaa"
10    
11     DESCRIPTION="Seven Kingdoms: Ancient Adversaries game data files"
12     HOMEPAGE="http://7kfans.com/"
13     SRC_URI="mirror://sourceforge/skfans/${MY_PN}-data-${PV}.tar.bz2"
14    
15     LICENSE="GPL-2"
16     SLOT="0"
17     KEYWORDS="~amd64 ~x86"
18     IUSE=""
19    
20     DEPEND=""
21     RDEPEND="${DEPEND}"
22    
23     S="${WORKDIR}/${MY_PN}"
24    
25     src_install() {
26     # Install readme and remove unneeded files
27     newdoc README-GameData README
28     rm README-GameData COPYING || die 'rm failed'
29    
30     # Install game data
31     insinto "${GAMES_DATADIR}/${MY_PN}"
32     doins -r *
33    
34     prepgamesdirs
35     }
36    
37     pkg_postinst() {
38     elog
39     elog 'This tarball does not contain music files for Seven Kingodoms, as said on 7kfans.com:'
40     elog '"The music is the work of Bjorn Lynne Copyright (c) 1997, and is not provided under the GPL.'
41     elog 'It may be freely downloaded and used with Seven Kingdoms, but not modified or repurposed into derivative works."'
42     elog
43     games_pkg_postinst
44     }

  ViewVC Help
Powered by ViewVC 1.1.20