updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / openredalert_full_version_data / PKGBUILD
blob8deab2d4b011b100a995fa0308534a281c431ce7
1 # Contributor: jose1711 <jose1711@gmail.com>
2 pkgname=openredalert_full_version_data
3 pkgver=1
4 pkgrel=1
5 pkgdesc="Data files for OpenRedAlert from full version of the game (Soviet/Allied Disc)"
6 arch=('i686')
7 url="http://www.ea.com/redalert/news-detail.jsp?id=62"
8 license=('EULA')
9 install=('openredalert_data.install')
10 depends=('openredalert_bin')
11 makedepends=('unrar' 'uniso')
12 source=("http://na.llnet.cnc3tv.ea.com/u/f/eagames/cnc3/cnc3tv/RedAlert/RedAlert1_SovietDisc.rar"
13 "http://na.llnet.cnc3tv.ea.com/u/f/eagames/cnc3/cnc3tv/RedAlert/RedAlert1_AlliedDisc.rar")
14 md5sums=('0035bad1775dfe3a7cf4de807b41a135'
15 '0a528b4d12d01b9076c16687ebf821b0')
17 build() {
18         cd ${srcdir}
19         unrar x RedAlert1_SovietDisc.rar
20         cd ${srcdir}/RedAlert1_SovietDisc/RedAlert1_SovietDisc
21         isoinfo -l -R -i CD2_SOVIET_DISC.ISO -l | uniso -R -i CD2_SOVIET_DISC.ISO
22         install -D -m 644 'INSTALL/REDALERT.MIX;1' ${pkgdir}/usr/share/openredalert/data/mix/REDALERT-SovietAlliedDisc.mix
23         install -D -m 644 'MAIN.MIX;1' ${pkgdir}/usr/share/openredalert/data/mix/MAIN-SovietDisc.mix
24         install -D -m 644 'Copy of EA Product EULA RedAlert1.rtf' ${pkgdir}/usr/share/openredalert/data/mix/EA_Product_EULA_RedAlert1.rtf
25         cd ${srcdir}
26         unrar x RedAlert1_AlliedDisc.rar
27         cd ${srcdir}/RedAlert1_AlliedDisc/RedAlert1_AlliedDisc
28         isoinfo -l -R -i CD1_ALLIED_DISC.ISO | uniso -R -i CD1_ALLIED_DISC.ISO
29         install -D -m 644 'MAIN.MIX;1' ${pkgdir}/usr/share/openredalert/data/mix/MAIN-AlliedDisc.mix
30         }