3263d078dd
quake3/demo takes care of downloading and patching the required PAK files. quake3/wrapper calls the Quake binary with a synthesised directory of symlinks to activated PAK files. This should make it easy to plug in the commercial PAKs, or third-party mods. svn path=/nixpkgs/trunk/; revision=4611
9 lines
180 B
Bash
9 lines
180 B
Bash
source $stdenv/setup
|
|
|
|
tail -n +165 $demo | tar xvfz -
|
|
chmod -R +w .
|
|
tail -n +175 $update | tar xvfz -
|
|
chmod -R +w .
|
|
|
|
ensureDir $out/baseq3
|
|
cp demoq3/*.pk3 baseq3/*.pk3 $out/baseq3
|