summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordonGR2015-08-23 15:21:59 +0300
committerGordonGR2015-08-23 15:21:59 +0300
commita87256e61c68b09283e28eaddcbb1798860b7aeb (patch)
tree357639d50dd7b59a465ecb8fcc69d7c582a42935
parent2d6e0ac427776aa361cbb949c6636337fbe5b4fb (diff)
downloadaur-a87256e61c68b09283e28eaddcbb1798860b7aeb.tar.gz
Use of the new source_i686 etc functions
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD26
2 files changed, 26 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 644829312b42..125d15293530 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = singularityviewer
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.
pkgver = 1.8.6.6157
- pkgrel = 1
+ pkgrel = 2
url = http://www.singularityviewer.org/
arch = i686
arch = x86_64
@@ -22,9 +22,18 @@ pkgbase = singularityviewer
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
- source = https://bitbucket.org/SingularityViewer/singularityviewer/downloads/Singularity--1.8.6.6157.tar.bz2
- source = singularityviewer.desktop
- source = singularityviewer.launcher
+ source_i686 = http://bitbucket.org/SingularityViewer/singularityviewer/downloads/Singularity-i686-1.8.6.6157.tar.bz2
+ source_i686 = singularityviewer.desktop
+ source_i686 = singularityviewer.launcher
+ md5sums_i686 = d2ef47e3a52b92afa0a979dfbe2d9966
+ md5sums_i686 = 21b1e68507a1dd851da8ef7d766afe58
+ md5sums_i686 = eb596f5cf7b6f2d0c55c0082fb99a905
+ source_x86_64 = http://bitbucket.org/SingularityViewer/singularityviewer/downloads/Singularity-x86_64-1.8.6.6157.tar.bz2
+ source_x86_64 = singularityviewer.desktop
+ source_x86_64 = singularityviewer.launcher
+ md5sums_x86_64 = 5fec78052e9f1a99c0d192658137ee8c
+ md5sums_x86_64 = 21b1e68507a1dd851da8ef7d766afe58
+ md5sums_x86_64 = eb596f5cf7b6f2d0c55c0082fb99a905
pkgname = singularityviewer
diff --git a/PKGBUILD b/PKGBUILD
index 2a648aa191d6..77da99d39eed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,26 +2,26 @@
pkgname=singularityviewer
pkgver=1.8.6.6157
-pkgrel=1
+pkgrel=2
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."
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')
-source=( "https://bitbucket.org/SingularityViewer/singularityviewer/downloads/Singularity-$CARCH-$pkgver.tar.bz2"
- "singularityviewer.desktop"
- "singularityviewer.launcher")
+source_i686=("http://bitbucket.org/SingularityViewer/singularityviewer/downloads/Singularity-i686-$pkgver.tar.bz2"
+ "singularityviewer.desktop"
+ "singularityviewer.launcher")
+md5sums_i686=('d2ef47e3a52b92afa0a979dfbe2d9966'
+ '21b1e68507a1dd851da8ef7d766afe58'
+ 'eb596f5cf7b6f2d0c55c0082fb99a905')
+source_x86_64=("http://bitbucket.org/SingularityViewer/singularityviewer/downloads/Singularity-x86_64-$pkgver.tar.bz2"
+ "singularityviewer.desktop"
+ "singularityviewer.launcher")
+md5sums_x86_64=('5fec78052e9f1a99c0d192658137ee8c'
+ '21b1e68507a1dd851da8ef7d766afe58'
+ 'eb596f5cf7b6f2d0c55c0082fb99a905')
-if [ "$CARCH" = "i686" ]; then
-md5sums=('d2ef47e3a52b92afa0a979dfbe2d9966'
- '21b1e68507a1dd851da8ef7d766afe58'
- 'eb596f5cf7b6f2d0c55c0082fb99a905')
-elif [ "$CARCH" = "x86_64" ]; then
-md5sums=('5fec78052e9f1a99c0d192658137ee8c'
- '21b1e68507a1dd851da8ef7d766afe58'
- 'eb596f5cf7b6f2d0c55c0082fb99a905')
-fi
package() {
cd $srcdir