1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="TC which turns Quake into a Rally racing game"
8 HOMEPAGE="http://wiki.quakeworld.nu/Quake_Rally"
9 SRC_URI="http://ehall.freeshell.org/quake/qr12.zip
10 http://ehall.freeshell.org/quake/qrlo1.zip"
12 LICENSE="all-rights-reserved"
14 KEYWORDS="~amd64 ~x86"
16 RESTRICT="mirror bindist"
19 DEPEND="app-arch/unzip"
24 echo ">>> Unpacking qr12.zip to ${PWD}"
25 unzip -qoLL "${DISTDIR}"/qr12.zip || die "unpacking qr12.zip failed"
26 echo ">>> Unpacking qrlo1.zip to ${PWD}"
27 unzip -qoLL "${DISTDIR}"/qrlo1.zip || die "unpacking qrlo1.zip failed"
28 rm -f button.wav qrally.exe
30 edos2unix $(find . -name '*.txt' -o -name '*.cfg')
31 mv rally{,.example}.cfg
35 insinto "${GAMES_DATADIR}/quake1"