1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/games/quake3/demo/builder.sh
Eelco Dolstra 3263d078dd * Get the Quake 3 demo data to work with the open source Quake 3.
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
2006-01-27 23:51:36 +00:00

10 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