1 # Maintainer: Wido <widomaker2k7 at gmail dot com>
6 pkgdesc="A world of claustrophobic, mysterious, puzzle-riddled, dangerous mazes where, surrounded by countless enemies, (requires copy of the full game)"
7 url="http://www.gameolith.com/game/boh/"
8 license=('custom: "commercial"')
12 md5sums=('3e5d79c3442c2eb5e75e5582bab49cbc')
14 _gamepkg="${pkgname}_${pkgver}.${_build}_i386.deb"
16 depends=('libglade' 'mesa' 'sdl_net')
17 _depends64=('lib32-libglade' 'lib32-mesa' 'lib32-sdl_net')
19 if [[ $CARCH == x86_64 ]]; then
20 depends=(${_depends64[@]})
26 msg "You need a full copy of this game in order to install it"
27 msg "Searching for ${_gamepkg} in dir: \"$startdir\""
29 if [[ ! -f "$startdir/${_gamepkg}" ]]; then
30 error "Game package not found, please type absolute path to ${_gamepkg} (/home/joe):"
32 if [[ ! -f "${pkgpath}/${_gamepkg}" ]]; then
33 error "Unable to find game package." && return 1
36 msg "Found game package, installing..."
38 ln -fs ${pkgpath}/${_gamepkg} . || return 1
39 #tar xvf ${pkgpath}/${_gamepkg} || return 1
41 ar x ${pkgname}_${pkgver}.${_build}_i386.deb
44 cp -r ${srcdir}/opt ${pkgdir}/
45 cp -r ${srcdir}/usr ${pkgdir}/
50 install -Dm 755 ${srcdir}/boh.sh ${pkgdir}/usr/bin/boh
53 install -D -m644 ${srcdir}/opt/BOH/licenses/README ${pkgdir}/usr/share/licenses/${pkgname}/readme.txt
55 # Make save game Directory with user group permissions (config)
56 install -d -m775 -g users ${pkgdir}/opt/BOH/