2015-03-22 13:53:48 +03:00
|
|
|
# Copyright 2014 Julian Ospald <hasufell@posteo.de>
|
2014-01-06 16:28:22 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
|
|
|
MY_P=zod_linux-${PV:0:4}-${PV:4:2}-${PV:6:2}
|
|
|
|
DESCRIPTION="Zod engine data files"
|
2015-03-22 13:53:48 +03:00
|
|
|
HOMEPAGE=""
|
|
|
|
SRC_URI="mirror://sourceforge/zod/linux_releases/${MY_P}.tar.gz"
|
2014-01-06 16:28:22 +04:00
|
|
|
|
|
|
|
LICENSE="all-rights-reserved"
|
|
|
|
SLOT="0"
|
2018-06-21 11:54:11 +03:00
|
|
|
KEYWORDS="amd64 x86"
|
2014-01-06 16:28:22 +04:00
|
|
|
IUSE=""
|
2015-03-22 13:53:48 +03:00
|
|
|
RESTRICT="bindist"
|
2014-01-06 16:28:22 +04:00
|
|
|
|
|
|
|
RDEPEND="~games-strategy/zod-engine-${PV}"
|
|
|
|
|
|
|
|
S=${WORKDIR}/zod_engine
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
# remove unused files
|
|
|
|
find "${S}" -type f \( -name Thumbs.db -o -name "*.xcf" -o -name "*.ico" \) -delete || die
|
|
|
|
rm assets/{splash.png,WebCamScene.icescene} || die
|
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
:
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2015-03-22 13:53:48 +03:00
|
|
|
insinto "/usr/share/zod-engine"
|
2014-01-06 16:28:22 +04:00
|
|
|
doins -r assets blank_maps *.map default_settings.txt *map_list.txt
|
|
|
|
}
|
2015-03-22 13:53:48 +03:00
|
|
|
|