summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGordonGR2016-10-01 17:11:26 +0300
committerGordonGR2016-10-01 17:11:26 +0300
commit2dacc3769cbd247e0d5321df94fa4aa00ddff94b (patch)
treef002a93c92e2ed856a66da70a044ed655f8ccd21 /PKGBUILD
downloadaur-2dacc3769cbd247e0d5321df94fa4aa00ddff94b.tar.gz
1.26.19.28-1: Upstream update
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD64
1 files changed, 64 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4f4a008793f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,64 @@
+# Maintainer: GordonGR <ntheo1979@gmail.com>
+
+pkgname=coolvlviewer-experimental-bin
+pkgver=1.26.19.28
+pkgrel=1
+pkgdesc="A third-party viewer for Second Life (C) (secondlife) and OpenSim (opensimulator) grids. ('VL' stands for virtual life, formerly known as 'Cool SL Viewer')"
+url="http://sldev.free.fr"
+license=('custom')
+depends=('apr-util' 'glib2>=2.32' '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'
+ 'pepper-flash: for inworld Flash support'
+ 'gst-plugins-good: for video support'
+ 'gst-plugins-bad: for video support'
+ 'gst-plugins-ugly: for video support'
+ 'lib32-freealut: for OpenAL support')
+arch=('x86_64')
+conflicts=('coolvlviewer' 'coolvlviewer-bin' 'coolvlviewer-experimental')
+install=coolvlviewer.install
+source=("http://sldev.free.fr/binaries/CoolVLViewer-${pkgver}-Linux-x86_64-Setup"
+ "coolvlviewer.desktop"
+ "coolvlviewer.launcher")
+md5sums=('6b544060eb9c26b5893761e2b1126ba4'
+ '073b86481c3ec30da0325c495f39df85'
+ 'fd78de1f6c1333a5120ece89873515e0')
+
+build() {
+cd $srcdir
+# Run the installer
+chmod +x CoolVLViewer-${pkgver}-Linux-x86_64-Setup
+./CoolVLViewer-${pkgver}-Linux-x86_64-Setup --mode silent --destination $srcdir/coolvlviewer/
+}
+
+package(){
+# Install Desktop File
+install -D -m644 $srcdir/coolvlviewer.desktop \
+ $pkgdir/usr/share/applications/coolvlviewer.desktop
+
+# Install Icon File
+install -D -m755 $srcdir/coolvlviewer/cvlv_icon.png \
+ $pkgdir/usr/share/pixmaps/clvl_icon.png
+
+# Install Launcher
+install -D -m755 $srcdir/../coolvlviewer.launcher \
+ $pkgdir/usr/bin/coolvlviewer
+
+# Install License
+install -D -m644 $srcdir/coolvlviewer/licenses.txt \
+ $pkgdir/usr/share/licenses/$pkgname/LISENSE
+
+# Move Data to Destination Directory
+install -d $pkgdir/opt/
+mv coolvlviewer/ $pkgdir/opt/
+
+# Change Permissions of files to root:games
+chown -R root:games $pkgdir/opt/coolvlviewer
+chmod -R g+rw $pkgdir/opt/coolvlviewer
+
+# Make Binary Group-Executable
+chmod g+x $pkgdir/opt/coolvlviewer/cool_vl_viewer
+
+}