diff options
author | Mike Swanson | 2012-12-03 08:41:29 -0800 |
---|---|---|
committer | Mike Swanson | 2012-12-03 08:41:29 -0800 |
commit | 5853188648e9fb06da67b8ef3a03902ff124c821 (patch) | |
tree | 9c1f907853148172356d75007a6f4e0ef2355971 | |
download | aur-5853188648e9fb06da67b8ef3a03902ff124c821.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 51 | ||||
-rw-r--r-- | firestorm.desktop | 9 | ||||
-rw-r--r-- | firestorm.install | 31 | ||||
-rw-r--r-- | firestorm.launcher | 5 |
6 files changed, 130 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2387eb5946b7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = firestorm-bin + pkgdesc = Second Life is a 3-D virtual world entirely built and owned by its residents. Firestorm is alternative viewer for secondlife (native 32bit) + pkgver = 4.2.2.29837 + pkgrel = 2 + url = http://www.phoenixviewer.com/ + install = firestorm.install + arch = i686 + arch = x86_64 + license = GPL + depends = openal + depends = gnome-vfs + depends = gtk2 + depends = libpng + depends = dbus-glib + depends = libidn + depends = sdl + depends = mesa + optdepends = gstreamer0.10: For video support - may need good, bad and ugly plugins + source = http://downloads.phoenixviewer.com/Linux/Phoenix_Firestorm-Release_i686_4.2.2.29837.tar.bz2 + source = firestorm.install + source = firestorm.desktop + source = firestorm.launcher + sha256sums = 67143f779073671d4c7b61a02bb492d84dce31f0c8b235959e9d36bd74efd8bf + sha256sums = cd919be5e2d28ff86e9b51ffe1076ba8c13acf9c0953fc2f4bb78fe7e79cdbb3 + sha256sums = 6dffebc474fd98d23bf8d9f4a7592795642dbddf3a0b585f89d25ff11ae15cc1 + sha256sums = b2ce32d268f76f4324807d50c4098a3480b489ec447133ce8d9b9c4a7bc05530 + +pkgname = firestorm-bin + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..810b2a562251 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.pkg.tar* +*.src.tar* +*.bz2 +src +pkg diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8e1fa5ce15d5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com> +pkgname=firestorm-bin +pkgver=4.2.2.29837 +pkgrel=2 +pkgdesc="Second Life is a 3-D virtual world entirely built and owned by its residents. Firestorm is alternative viewer for secondlife (native 32bit)" +url="http://www.phoenixviewer.com/" +license=('GPL') +depends=('openal' 'gnome-vfs' 'gtk2' 'libpng' 'dbus-glib' 'libidn' 'sdl' 'mesa') +optdepends=('gstreamer0.10: For video support - may need good, bad and ugly plugins') +[ "$CARCH" = "x86_64" ] && depends=('lib32-gtk2' 'lib32-libpng' 'lib32-openal' 'lib32-dbus-glib' 'lib32-gnome-vfs' 'lib32-libidn' 'lib32-sdl' 'lib32-mesa') +[ "$CARCH" = "x86_64" ] && optdepends=('lib32-nvidia-utils: GL support for NVIDIA drivers') +arch=('i686' 'x86_64') +install=firestorm.install +source=("http://downloads.phoenixviewer.com/Linux/Phoenix_Firestorm-Release_i686_${pkgver}.tar.bz2" 'firestorm.install' 'firestorm.desktop' 'firestorm.launcher') +sha256sums=('67143f779073671d4c7b61a02bb492d84dce31f0c8b235959e9d36bd74efd8bf' + 'cd919be5e2d28ff86e9b51ffe1076ba8c13acf9c0953fc2f4bb78fe7e79cdbb3' + '6dffebc474fd98d23bf8d9f4a7592795642dbddf3a0b585f89d25ff11ae15cc1' + 'b2ce32d268f76f4324807d50c4098a3480b489ec447133ce8d9b9c4a7bc05530') + +package() { + cd "${srcdir}" + + # Rename Data Directory + mv Phoenix_Firestorm-Release_i686_${pkgver}/ firestorm + + # Fix fontconfig >= 2.9.0 issue + ln -si libfontconfig.so.1.4.4 firestorm/lib/libfontconfig.so.1 + + # Install Desktop File + install -D -m644 "${srcdir}"/firestorm.desktop \ + "${pkgdir}"/usr/share/applications/firestorm.desktop + + # Install Icon File + install -D -m644 "${srcdir}"/firestorm/firestorm_icon.png \ + "${pkgdir}"/usr/share/pixmaps/firestorm_icon.png + + # Install Launcher + install -D -m755 "${srcdir}"/firestorm.launcher \ + "${pkgdir}"/usr/bin/firestorm + + # Move Data to Destination Directory + install -d "${pkgdir}"/opt/ + mv firestorm/ "${pkgdir}"/opt/ + + # Change Permissions of files to root:games + chown -R root:games "${pkgdir}"/opt/firestorm + chmod -R g+r "${pkgdir}"/opt/firestorm + + # Make Binary Group-Executable + chmod g+x "${pkgdir}"/opt/firestorm/firestorm +} diff --git a/firestorm.desktop b/firestorm.desktop new file mode 100644 index 000000000000..1295f3bd1f94 --- /dev/null +++ b/firestorm.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Firestorm Second Life viewer +Comment=Second Life is a 3-D virtual world entirely built and owned by its residents +Exec=/usr/bin/firestorm +Icon=/usr/share/pixmaps/firestorm_icon.png +Terminal=false +Categories=Game diff --git a/firestorm.install b/firestorm.install new file mode 100644 index 000000000000..5cb3062876fa --- /dev/null +++ b/firestorm.install @@ -0,0 +1,31 @@ +post_install() { + echo ">>> You must register an account on the official Second Life" + echo ">>> website in order to play Second Life." + echo ">>>" + echo ">>> http://www.secondlife.com/" + echo ">>>" + echo ">>> You must also add your user to the 'games' group." + echo ">>>" + echo ">>> # gpasswd -a USERNAME games" + echo ">>>" + echo ">>> Remember to logout and log back in for the changes to take effect." +} + +post_upgrade() { + post_install $1 + echo + echo ">>> The Firestorm team highly recommends to delete the old configuration" + echo ">>> upon an upgrade. This may be accomplished by deleting ~/.firestorm" + echo ">>>" + echo ">>> Remember, chat logs are saved in that directory, so make sure" + echo ">>> to backup any *.txt files you want to keep!" +} + +pre_remove() { + /bin/true +} + +op=$1 +shift + +$op $* diff --git a/firestorm.launcher b/firestorm.launcher new file mode 100644 index 000000000000..94987c07abd9 --- /dev/null +++ b/firestorm.launcher @@ -0,0 +1,5 @@ +#!/bin/sh + +cd "/opt/firestorm/" +./firestorm $* +exit $? |