1 # Maintainer: Florian Léger <florian6 dot leger at laposte dot net>
6 pkgdesc="Action game set in the Star Wars universe (uses DOSBox, CD-ROM required)"
8 depends=("dosbox" "dos32a")
11 url="http://www.lucasarts.com"
12 source=("reb18.zip::ftp://ftp.lucasarts.com/patches/pc/reb18.exe"
13 "http://icons.iconarchive.com/icons/3xhumed/mega-games-pack-29/256/Star-Wars-Rebel-Assault-1-icon.png"
17 md5sums=('cee08a288d8d2e18b4ecf4c2fc304dc5'
18 '28f18180a1d4a4c690d7ecc1b0912c6d'
19 'e01625a42538f4f0f513b3d10996f570'
20 'ad359a72785ef938d2edb36d5f0f4a76'
21 '786abf4cc25641a6ddbdfb5715654f6c')
22 install="${pkgname}.install"
24 # Change this to the path where your Rebel Assault CDROM is mounted
25 : ${CD_DIR:="$HOME/media/Rebel_Assault.iso/"}
28 local diskDir="${pkgdir}/usr/share/games/${pkgname}"
30 # Copy data (case insensitive)
34 for f in "./cut*/*" "./fin/*" "./font/*" "./lvl*/*" "./open/*" "./sys/*"; do
35 find . -iwholename "${f}" -exec install -Dm644 "{}" "${diskDir}/{}" \;
38 # Use DOS32/A instead of DOS4/GW
39 ln -s "/usr/share/dos32a/dos32a.exe" "${diskDir}/dos4gw.exe"
42 for f in "ASSAULT.EXE" "BOOTDISK.EXE" "REBEL.EXE"; do
43 install -Dm644 "${srcdir}/${f}" "${diskDir}/${f}"
48 convmv --lower --notest -r *
51 install -Dm644 "${srcdir}/lib${pkgname}.sh" "${pkgdir}/usr/lib/lib${pkgname}.sh"
52 install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
55 install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
58 install -Dm644 "${srcdir}/Star-Wars-Rebel-Assault-1-icon.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"