1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DEMO="desc${PV//.}sw.exe"
10 DESCRIPTION="Demo data files for Descent 1"
11 HOMEPAGE="http://www.interplay.com/games/descent.php"
12 SRC_URI="http://icculus.org/d2x/data/${DEMO}
13 ftp://ftp.funet.fi/pub/msdos/games/interplay/${DEMO}"
14 LICENSE="free-noncomm"
16 KEYWORDS="~amd64 ~x86"
18 RDEPEND="!games-action/descent1-data"
20 DEPEND="app-arch/unzip
28 unarj e DESCENT1.SOW || die
29 mv descent.pig{,1} || die
30 unarj e DESCENT2.SOW || die
31 mv descent.pig{,2} || die
33 # From the sows, big porkie pies shall grow
34 cat descent.pig{1,2} > descent.pig || die
38 insinto /usr/share/games/d1x
39 doins descent.{hog,pig}
44 elog "A client is needed to run the game, e.g. games-action/dxx-rebirth."