2012-05-16 15:12:38 +04:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI=3
|
|
|
|
|
|
|
|
inherit games
|
|
|
|
|
2012-05-18 13:32:03 +04:00
|
|
|
MY_PN="${PN%-data}"
|
|
|
|
MY_P="${MY_PN}-r${PV%_*}-alpha"
|
2012-05-16 15:12:38 +04:00
|
|
|
|
|
|
|
DESCRIPTION="Data files for 0ad"
|
|
|
|
HOMEPAGE="http://wildfiregames.com/0ad/"
|
2012-05-18 13:32:03 +04:00
|
|
|
SRC_URI="mirror://sourceforge/zero-ad/${MY_P}-unix-data.tar.xz"
|
2012-05-16 15:12:38 +04:00
|
|
|
|
2012-05-18 13:32:03 +04:00
|
|
|
LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0 LPPL-1.3c BitstreamVera"
|
2012-05-16 15:12:38 +04:00
|
|
|
SLOT="0"
|
2012-05-18 13:32:03 +04:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2012-05-16 15:12:38 +04:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
S=${WORKDIR}/${MY_P}
|
|
|
|
|
2012-05-18 13:32:03 +04:00
|
|
|
src_prepare() {
|
|
|
|
rm binaries/data/tools/fontbuilder/fonts/*.txt
|
|
|
|
}
|
|
|
|
|
2012-05-16 15:12:38 +04:00
|
|
|
src_install() {
|
|
|
|
insinto "${GAMES_DATADIR}"/${MY_PN}
|
|
|
|
doins -r binaries/data/* || die
|
|
|
|
prepgamesdirs
|
|
|
|
}
|