1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
5 pkgdesc="Tunnels Of the Underground (TOU) is a fast paced action side-view game with a good amount of weapons and space ships to choose from."
6 url="http://tou.has.it/"
9 [ "$CARCH" = i686 ] && depends=('wine')
10 [ "$CARCH" = x86_64 ] && depends=('bin32-wine')
11 source=(tou tou.desktop tou.png \
12 http://doubleskill.de/svens_stuff/tou10.tar.gz)
14 #install=(tou.install)
17 md5sums=('1b51595f6f34755d32cd74e631372aff'
18 '198cbf094416470fb8f3d81fa271cd74'
19 '5041dbdf8f54508212d6ffe1f65d2c11'
20 'b406cb160e67709a9c08e79dbab61a38')
23 # Install documentation
24 install -d -m755 ${pkgdir}/usr/share/doc/tou
25 mv ${srcdir}/tou10/*.htm ${pkgdir}/usr/share/doc/tou
26 mv ${srcdir}/tou10/helpgfx ${pkgdir}/usr/share/doc/tou/
29 rm ${srcdir}/tou10/uninstall*
30 rmdir ${srcdir}/tou10/swap
32 # Initial directories for game files
33 install -d -m755 ${pkgdir}/usr/share/tou
34 mv ${srcdir}/tou10/* ${pkgdir}/usr/share/tou/
36 # Now lets manually change all the permissions since its a Windows game
37 find ${pkgdir}/usr/share/tou -type d -exec chmod 755 "{}" \;
38 find ${pkgdir}/usr/share/tou -type f -exec chmod 644 "{}" \;
39 find ${pkgdir}/usr/share/doc/tou -type d -exec chmod 755 "{}" \;
40 find ${pkgdir}/usr/share/doc/tou -type f -exec chmod 644 "{}" \;
42 # Install scripts for the user to run
43 install -d -m755 ${pkgdir}/usr/bin
44 install -m755 tou ${pkgdir}/usr/bin
47 install -Dm644 ${srcdir}/tou.desktop ${pkgdir}/usr/share/applications/tou.desktop
48 install -Dm644 ${srcdir}/tou.png ${pkgdir}/usr/share/pixmaps/tou.png