1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
2 pkgname=daggerfall-addons
5 pkgdesc="The Elder Scrolls II: Daggerfall, unofficial Add-Ons"
7 url="http://www.uesp.net/wiki/Daggerfall:Files#Unofficial_Add-Ons"
8 license=('custom:daggerfall')
9 depends=(daggerfall daggerfall-fixes)
12 install=addons.install
13 source=(http://images.uesp.net//9/9d/Fixqs001.zip
14 http://www.uesp.net/dagger/files/xtraqst.zip
15 http://www.uesp.net/dagger/files/xtraqst2.zip
16 http://images.uesp.net//0/0d/Xtraqst3.zip
17 http://www.uesp.net/dagger/files/xqse.zip
18 http://www.uesp.net/dagger/files/xqpatch.zip
19 http://images.uesp.net//3/34/Lbsword.zip
20 http://www.uesp.net/dagger/files/addtext.zip
21 http://www.svatopluk.com/daggerfall/mods/BrenRSC1.zip
22 http://www.svatopluk.com/daggerfall/mods/BrenRSC2.zip
23 http://images.uesp.net//5/5e/MountedGuards.zip
24 http://images.uesp.net//0/04/WeaponsFall.zip
25 http://images.uesp.net//9/9c/ArmorFall.zip
26 http://images.uesp.net//c/c3/ClothesFall.zip
27 http://images.uesp.net//f/f8/WomenFall.zip
28 http://www.svatopluk.com/daggerfall/mods/andyfall.zip
29 andyfall-clothes.patch andyfall-armor.patch andyfall.patch)
30 noextract=(xtraqst.zip xtraqst2.zip Xtraqst3.zip xqse.zip xqpatch.zip Lbsword.zip
31 MountedGuards.zip WeaponsFall.zip ArmorFall.zip ClothesFall.zip WomenFall.zip
32 addtext.zip BrenRSC1.zip BrenRSC2.zip Fixqs001.zip)
33 md5sums=('4b8d31d14f3ee8c7400bdf8c9768aa1c'
34 'bfda6a00f48aec717a9811debb594050'
35 '2e05d882d5d3750142e5dc513064e639'
36 'd10f136d77d514c1ff932fea49c9739c'
37 '85b487fbbd0999660391c9e796664626'
38 'b802a0e83d4c7aa707f681540758ca54'
39 'fd07e8b79ec015421bae0e4ddaeee002'
40 '13d33aae6edc1abaf6e060e775873588'
41 '50711bb9b198972c41a9e8b9c74559ba'
42 '8b585dc1c1ee47e348613dc60180720d'
43 '9a27ce990dc32df5f92cb5a841b6ceaa'
44 'ae5d7a13120754e3f1574767958977a7'
45 '567f827b27536c740459269a02869c14'
46 '3ceea5532385b3c77a5d38e971915c1e'
47 '6fd1aa6fae821a86bf5f41fca20c52a7'
48 '616dc4a41ca41f4e840d7d1ccbd2234f'
49 '562ce2074af5bc90bc1605a47f836f32'
50 '84a8c8a72c4170a2b2914b778e5d54f8'
51 'e81bc2c89560d7e486a487aa1ea83264')
55 _target="${pkgdir}"/usr/share/games/daggerfall/mods
59 echo "andyfall-fixes" > andyfall-lite.extends
60 echo "andyfall-fixes" > andyfall.extends
63 install -d fixqs001-addons/ARENA2
64 cd fixqs001-addons/ARENA2
65 unzip "$srcdir"/Fixqs001.zip
89 ls | while read file; do mv $file `echo $file | sed 's/.*/\U&/'`; done
91 echo "fixqs001-addons" > addons.extends
94 install -d extra_quests_1/ARENA2
95 cd extra_quests_1/ARENA2
96 unzip "$srcdir"/xtraqst.zip
99 echo "extra_quests_1" >> addons.extends
102 install -d extra_quests_2/ARENA2
103 cd extra_quests_2/ARENA2
104 unzip "$srcdir"/xtraqst2.zip
107 echo "extra_quests_2" >> addons.extends
110 install -d extra_quests_3/ARENA2
111 cd extra_quests_3/ARENA2
112 unzip "$srcdir"/Xtraqst3.zip
115 echo "extra_quests_3" >> addons.extends
118 install -d extra_quests_se/ARENA2
119 cd extra_quests_se/ARENA2
120 unzip "$srcdir"/xqse.zip
123 echo "extra_quests_1" > extra_quests_se.extends
124 echo "extra_quests_se" >> addons.extends
127 install -d extra_quests_patch-addons/ARENA2
128 cd extra_quests_patch-addons/ARENA2
129 unzip "$srcdir"/xqpatch.zip
134 echo "extra_quests_2" > extra_quests_patch-addons.extends
135 echo "extra_quests_se" >> extra_quests_patch-addons.extends
136 echo "extra_quests_patch-addons" >> addons.extends
139 install -d live_by_the_sword/ARENA2
140 cd live_by_the_sword/ARENA2
141 unzip "$srcdir"/Lbsword.zip
146 ls | while read file; do mv $file `echo $file | sed 's/.*/\U&/'`; done
148 echo "live_by_the_sword" >> addons.extends
151 install -d added_text/ARENA2
153 unzip "$srcdir"/addtext.zip
158 install -d brendan_text/ARENA2
159 cd brendan_text/ARENA2
160 unzip "$srcdir"/BrenRSC1.zip
162 mv Brendan1.rsc TEXT.RSC
165 install -d brendan_straight_text/ARENA2
166 cd brendan_straight_text/ARENA2
167 unzip "$srcdir"/BrenRSC2.zip
169 mv BrenRSC2/Brendan2.rsc TEXT.RSC
172 echo "brendan_straight_text" >> addons.extends
175 install -d andyfall-mounted_guards/ARENA2
176 cd andyfall-mounted_guards/ARENA2
177 unzip "$srcdir"/MountedGuards.zip
181 echo "andyfall-mounted_guards" >> andyfall-lite.extends
182 echo "andyfall-mounted_guards" >> andyfall.extends
183 echo "andyfall-mounted_guards" >> addons.extends
186 install -d andyfall-weapons/ARENA2
187 cd andyfall-weapons/ARENA2
188 unzip "$srcdir"/WeaponsFall.zip
192 echo "andyfall-weapons" >> andyfall-lite.extends
193 echo "andyfall-weapons" >> andyfall.extends
194 echo "andyfall-weapons" >> addons.extends
197 install -d andyfall-armor/ARENA2
198 cd andyfall-armor/ARENA2
199 unzip "$srcdir"/ArmorFall.zip
203 mv "$srcdir"/andyfall-armor.patch .
204 echo "andyfall-armor" >> andyfall-lite.extends
205 echo "andyfall-armor" >> andyfall.extends
206 echo "andyfall-armor" >> addons.extends
209 install -d andyfall-clothes/ARENA2
210 cd andyfall-clothes/ARENA2
211 unzip "$srcdir"/ClothesFall.zip
215 mv "$srcdir"/andyfall-clothes.patch .
216 echo "andyfall-clothes" >> andyfall-lite.extends
217 echo "andyfall-clothes" >> andyfall.extends
218 echo "andyfall-clothes" >> addons.extends
221 install -d andyfall-women/ARENA2
222 cd andyfall-women/ARENA2
223 unzip "$srcdir"/WomenFall.zip
227 echo "andyfall-women" >> andyfall-lite.extends
228 echo "andyfall-women" >> andyfall.extends
229 echo "andyfall-women" >> addons.extends
231 install -d andyfall/ARENA2
233 cp "$srcdir"/ANDYFALL/ARENA2/CLASS* .
235 echo "andyfall-lite" >> andyfall.extends
236 mv "$srcdir"/andyfall.patch .
238 chgrp -R games "$pkgdir"/usr/share/games/daggerfall
239 chmod -R g+rw "$pkgdir"/usr/share/games/daggerfall