Overlay/games-strategy/zod-engine-data/zod-engine-data-20110906.eb...

37 lines
788 B
Bash

# Copyright 2014 Julian Ospald <hasufell@posteo.de>
# 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"
HOMEPAGE=""
SRC_URI="mirror://sourceforge/zod/linux_releases/${MY_P}.tar.gz"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="bindist"
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() {
insinto "/usr/share/zod-engine"
doins -r assets blank_maps *.map default_settings.txt *map_list.txt
}