1 # Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
5 pkgdesc="Second Life is a 3-D virtual world entirely built and owned by its residents. Firestorm is alternative viewer for secondlife (native 32bit)"
6 url="http://www.phoenixviewer.com/"
8 depends=('openal' 'gnome-vfs' 'gtk2' 'libpng' 'dbus-glib' 'libidn' 'sdl' 'mesa')
9 optdepends=('gstreamer0.10: For video support - may need good, bad and ugly plugins')
10 [ "$CARCH" = "x86_64" ] && depends=('lib32-gtk2' 'lib32-libpng' 'lib32-openal' 'lib32-dbus-glib' 'lib32-gnome-vfs' 'lib32-libidn' 'lib32-sdl' 'lib32-mesa')
11 [ "$CARCH" = "x86_64" ] && optdepends=('lib32-nvidia-utils: GL support for NVIDIA drivers')
12 arch=('i686' 'x86_64')
13 install=firestorm.install
14 source=("http://downloads.phoenixviewer.com/Linux/Phoenix_Firestorm-Release_i686_${pkgver}.tar.bz2" 'firestorm.install' 'firestorm.desktop' 'firestorm.launcher')
15 sha256sums=('9195894ae53384ce52f1675a10e086774185041497c8e2f489e70cb8cc8fc4bb'
16 'b22e6ed741bb2c39dc26c92a1f6e018d9d7b284b8f157a88daf578179364232f'
17 '6dffebc474fd98d23bf8d9f4a7592795642dbddf3a0b585f89d25ff11ae15cc1'
18 'b2ce32d268f76f4324807d50c4098a3480b489ec447133ce8d9b9c4a7bc05530')
23 # Rename Data Directory
24 mv Phoenix_Firestorm-Release_i686_${pkgver}/ firestorm
26 # Install Desktop File
27 install -D -m644 $srcdir/firestorm.desktop \
28 $pkgdir/usr/share/applications/firestorm.desktop
31 install -D -m644 $srcdir/firestorm/firestorm_icon.png \
32 $pkgdir/usr/share/pixmaps/firestorm_icon.png
35 install -D -m755 $srcdir/firestorm.launcher \
36 $pkgdir/usr/bin/firestorm
38 # Move Data to Destination Directory
39 install -d $pkgdir/opt/
40 mv firestorm/ $pkgdir/opt/
42 # Change Permissions of files to root:games
43 chown -R root:games $pkgdir/opt/firestorm
44 chmod -R g+r $pkgdir/opt/firestorm
46 # Make Binary Group-Executable
47 chmod g+x $pkgdir/opt/firestorm/firestorm