1 # Contributor: Christoph Zeiler <rabyte*gmail>
2 # Contributor: Vaino Helminen <vah78@yahoo.com>
4 pkgname=alephone-highres
7 pkgdesc="HiRes content for the Marathon line of games"
9 url="http://source.bungie.org/get/"
11 depends=('alephone>=20060701')
12 optdepends=('alephone-marathon: Marathon 1 (M1A1) scenario'
13 'alephone-marathon2: Marathon 2: Durandal scenario'
14 'alephone-infinity: Marathon Infinity scenario'
15 'alephone-ttep-marathon: Marathon 1 HiRes textures'
16 'alephone-ttep-marathon2: Marathon 2 Hires textures'
17 'alephone-ttep-infinity: Marathon Infinity HiRes textures')
18 source=(http://www.simplici7y.com/version/file/189/wep141.zip
19 http://nardofiles.bungie.org/shots_fired.zip
20 http://www.simplici7y.com/version/file/299/m1redux_v1.0.zip
21 http://www.simplici7y.com/version/file/300/m23redux_v1.0.zip
22 http://www.simplici7y.com/version/file/126/High-res_Landscapes1.1.zip)
23 md5sums=('3cc3653d02ee41e971a269cfd52cb119'
24 '0ad452758083e8fb87f89ad8970ece0a'
25 'facaa0cb41edbbee13477986fcabf59b'
26 '1d0ed0f1ed2c95f4f83672c180cc1bcb'
27 '5b3978f3ab0df10db21b11b7786647d7')
30 mkdir -p "$pkgdir/usr/share/alephone/highres/Scripts"
31 for i in marathon marathon2 infinity ; do
32 mkdir -p "$pkgdir/usr/share/alephone/scenarios/$i/Scripts"
35 msg2 'Weapon Enhancement Pack...'
37 install -m 644 *.mml "$pkgdir/usr/share/alephone/highres/Scripts/"
38 find . -type f -name \*.dds | while read i; do
39 install -D -m 644 "$i" "$pkgdir/usr/share/alephone/highres/$i"
41 for i in marathon2 infinity ; do
42 ln -s ../../../highres/Scripts/{explosions,wep}.mml "$pkgdir/usr/share/alephone/scenarios/$i/Scripts/"
43 ln -s ../../highres/wep "$pkgdir/usr/share/alephone/scenarios/$i/"
48 install -m 644 Scripts/*.mml "$pkgdir/usr/share/alephone/highres/Scripts/"
49 find tex -type f -name \*.dds | while read i; do
50 install -D -m 644 "$i" "$pkgdir/usr/share/alephone/highres/$i"
52 for i in marathon2 infinity ; do
53 ln -s ../../../highres/Scripts/{Shots,Transparent_Sprites}.mml "$pkgdir/usr/share/alephone/scenarios/$i/Scripts/"
54 ln -s ../../highres/tex "$pkgdir/usr/share/alephone/scenarios/$i/"
57 msg2 'm1redux pack...'
58 cd "$srcdir/m1redux_v1.0"
59 install -m 644 *.mml "$pkgdir/usr/share/alephone/scenarios/marathon/Scripts/"
60 find . -type f -name \*.dds | while read i; do
61 install -D -m 644 "$i" "$pkgdir/usr/share/alephone/scenarios/marathon/$i"
64 msg2 'm23redux pack...'
65 cd "$srcdir/m23redux_v1.0"
66 install -m 644 *.mml "$pkgdir/usr/share/alephone/highres/Scripts/"
67 find . -type f -name \*.dds | while read i; do
68 install -D -m 644 "$i" "$pkgdir/usr/share/alephone/highres/$i"
70 for i in marathon2 infinity ; do
71 ln -s ../../../highres/Scripts/m23redux.mml "$pkgdir/usr/share/alephone/scenarios/$i/Scripts/"
72 ln -s ../../highres/m23redux "$pkgdir/usr/share/alephone/scenarios/$i/"
75 msg2 'High-res Landscapes...'
76 cd "$srcdir/High-res Landscapes 1.1/Marathon 2 Durandal"
77 install -m 644 *.mml "$pkgdir/usr/share/alephone/scenarios/marathon2/Scripts/"
78 find . -type f -name \*.dds | while read i; do
79 install -D -m 644 "$i" "$pkgdir/usr/share/alephone/scenarios/marathon2/$i"
82 cd "$srcdir/High-res Landscapes 1.1/Marathon Infinity"
83 install -m 644 *.mml "$pkgdir/usr/share/alephone/scenarios/infinity/Scripts/"
84 find . -type f -name \*.dds | while read i; do
85 install -D -m 644 "$i" "$pkgdir/usr/share/alephone/scenarios/infinity/$i"
88 cd "$srcdir/High-res Landscapes 1.1/Optional Fog Script"
89 install -m 644 *.mml "$pkgdir/usr/share/alephone/scenarios/marathon2/Scripts/"
90 install -m 644 *.mml "$pkgdir/usr/share/alephone/scenarios/infinity/Scripts/"
93 # vim:set ts=2 sw=2 et: