diff options
author | GordonGR | 2015-06-08 14:14:08 +0300 |
---|---|---|
committer | GordonGR | 2015-06-08 14:14:08 +0300 |
commit | 8c1db041ae7657c056d69b418c0b0317e03d2f78 (patch) | |
tree | 9b7d842839257132eb53b116f8ce97bdaa48e90f | |
download | aur-8c1db041ae7657c056d69b418c0b0317e03d2f78.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 32 | ||||
-rw-r--r-- | PKGBUILD | 67 | ||||
-rw-r--r-- | singularityviewer.desktop | 10 | ||||
-rw-r--r-- | singularityviewer.launcher | 5 |
4 files changed, 114 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..de81383fa0fe --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,32 @@ +pkgbase = singularityviewer-alpha + pkgdesc = An exciting client for Second Life (secondlife) and OpenSim (opensimulator), which combines the look and feel of Viewer 1.23 with the latest and greatest of available technology. (alpha version) + pkgver = 1.8.6.6517 + pkgrel = 1 + url = http://www.singularityviewer.org/ + arch = i686 + arch = x86_64 + license = custom + depends = apr-util + depends = gtk2 + depends = libgl + depends = libidn + depends = libjpeg-turbo + depends = mesa + depends = nss + depends = sdl + depends = glu + depends = pangox-compat + optdepends = libpulse: for PulseAudio support + optdepends = alsa-lib: for ALSA support + optdepends = nvidia-utils: for NVIDIA support + optdepends = flashplugin: for inworld Flash support + optdepends = gstreamer0.10: for video support, may need good, bad and ugly plugins + optdepends = lib32-freealut: for OpenAL support + provides = singularityviewer + conflicts = singularityviewer + source = http://downloads.sourceforge.net/project/singularityview/alphas/SingularityAlpha--1.8.6.6517.tar.bz2 + source = singularityviewer.desktop + source = singularityviewer.launcher + +pkgname = singularityviewer-alpha + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a292714fd62b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,67 @@ +# Maintainer: GordonGR <ntheo1979@gmail.com> + +pkgname=singularityviewer-alpha +pkgver=1.8.6.6517 +pkgrel=1 +pkgdesc="An exciting client for Second Life (secondlife) and OpenSim (opensimulator), which combines the look and feel of Viewer 1.23 with the latest and greatest of available technology. (alpha version)" +url="http://www.singularityviewer.org/" +license=('custom') +arch=('i686' 'x86_64') +depends=('apr-util' 'gtk2' 'libgl' 'libidn' 'libjpeg-turbo' 'mesa' 'nss' 'sdl' 'glu' 'pangox-compat') +optdepends=('libpulse: for PulseAudio support' 'alsa-lib: for ALSA support' 'nvidia-utils: for NVIDIA support' 'flashplugin: for inworld Flash support' 'gstreamer0.10: for video support, may need good, bad and ugly plugins' 'lib32-freealut: for OpenAL support') +conflicts=("singularityviewer") +provides=("singularityviewer") +source=("http://downloads.sourceforge.net/project/singularityview/alphas/SingularityAlpha-$CARCH-$pkgver.tar.bz2" + "singularityviewer.desktop" + "singularityviewer.launcher") + + +if [ "$CARCH" = "i686" ]; then +md5sums=('39fc0c95d8fd421b13218779e6d179df' + 'ff7aa34dcd7548e3acdb3c2d44ae6604' + 'eb596f5cf7b6f2d0c55c0082fb99a905') +elif [ "$CARCH" = "x86_64" ]; then +md5sums=('fe08c8ed31b05aeb6a99aa61824cc3a6' + 'ff7aa34dcd7548e3acdb3c2d44ae6604' + 'eb596f5cf7b6f2d0c55c0082fb99a905') +fi + + +package() { +cd $srcdir + +# Rename Data Directory +mv SingularityAlpha-$CARCH-${pkgver} singularityviewer + +# Install Desktop File +install -D -m644 $srcdir/singularityviewer.desktop \ + $pkgdir/usr/share/applications/singularityviewer.desktop + +# Install Icon File +install -D -m644 $srcdir/singularityviewer/singularity_icon.png \ + $pkgdir/usr/share/pixmaps/singularityviewer.png + +# Install Launcher +install -D -m755 $srcdir/singularityviewer.launcher \ + $pkgdir/usr/bin/singularityviewer + +# Install License file +install -D -m755 $srcdir/singularityviewer/licenses.txt \ + $pkgdir/usr/share/licenses/$pkgname/LICENSE + +# Move Data to Destination Directory +install -d $pkgdir/opt +mv singularityviewer $pkgdir/opt/ + +# Change Permissions of files to root:games +chown -R root:games $pkgdir/opt/singularityviewer +chmod -R g+rw $pkgdir/opt/singularityviewer + +# Make Binary Group-Executable +chmod g+x $pkgdir/opt/singularityviewer/singularity + +# Do not re-register the application with the desktop system at every launch, saves from locally installed desktop files. +sed -i 's|./refresh_desktop_app_entry.sh|#./refresh_desktop_app_entry.sh|' $pkgdir/opt/singularityviewer/singularity + + +} diff --git a/singularityviewer.desktop b/singularityviewer.desktop new file mode 100644 index 000000000000..c4a311a383cd --- /dev/null +++ b/singularityviewer.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Singularity +Comment=Client for Online Virtual Worlds, such as Second Life +Exec=/usr/bin/singularityviewer +Icon=/opt/singularityviewer/singularity_icon.png +Terminal=false +Type=Application +Categories=Game +StartupNotify=true +X-Desktop-File-Install-Version=3.0 diff --git a/singularityviewer.launcher b/singularityviewer.launcher new file mode 100644 index 000000000000..8ab6ce68b091 --- /dev/null +++ b/singularityviewer.launcher @@ -0,0 +1,5 @@ +#!/bin/sh + +cd "/opt/singularityviewer/" +./singularity $* +exit $? |