updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / vertigo / PKGBUILD
blobe252a3065287830d4422adb502d98ccf813f8048
1 # Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
3 pkgname=vertigo
4 pkgver=1.0
5 pkgrel=2
6 pkgdesc="An arcade game for testing your reflexes."
7 arch=('i686' 'x86_64')
8 url="http://www.vertigo-game.com"
9 license=('GPL3')
10 depends=('libxaw' 'openal' 'mesa' 'freetype2' 'libvorbis' 'libxrandr' \
11          'zziplib' 'freeimage' 'openal')
12 if [[ "$CARCH" == "x86_64" ]]; then
13 depends=('lib32-libxaw' 'lib32-openal' 'lib32-mesa' 'lib32-freetype2' 'lib32-libvorbis' 'lib32-libxrandr' \
14          'lib32-zziplib' 'lib32-freeimage'  'lib32-openal')
16 source=(http://www.vertigo-game.com/downloads/latest/linux/Vertigo.tar.bz2)
18 build() {
19         cd "${srcdir}/Vertigo"
21         mkdir -p "${pkgdir}/opt/vertigo"
22         mkdir -p "${pkgdir}/usr/bin"
23         ## Remove some included libs
24         cd lib
25         rm      *freeimage* *freetype* *ogg* *openal* \
26                 *vorbis* *zip*
27         cd ..
28         cp -r * "${pkgdir}/opt/vertigo/"
29         ln -s /opt/vertigo/bin/play_vertigo.sh "${pkgdir}/usr/bin/vertigo"
31 md5sums=('83eae61947e66da4bd32d3f3bd01a66f')