# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games versionator MY_PV=$(replace_all_version_separators '_') MOD="SAS" DESCRIPTION="SAS vs terrorists team-based mod for Unreal Tournament 2004" HOMEPAGE="http://www.sas.jolt.co.uk/" SRC_URI="sas_${MY_PV}_full.zip" LICENSE="freedist" SLOT="0" KEYWORDS="~x86" IUSE="" RESTRICT="fetch strip" RDEPEND="games-fps/ut2004" DEPEND="app-arch/unzip" S=${WORKDIR} dir=${GAMES_PREFIX_OPT}/ut2004 pkg_nofetch() { einfo "Please download ${A} from:" einfo "${DOWNLOAD_URL}" einfo "and move it to ${DISTDIR}" } src_install() { mv "home/sassrv/${MOD}" . insinto "${dir}" doins -r "${MOD}" || die "doins failed" games_make_wrapper ${PN} "ut2004 -mod=${MOD}" make_desktop_entry ${PN} "UT2004 - SAS" ut2004.xpm prepgamesdirs }