updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / virtualgl-bin / PKGBUILD
blob231b9176e8bbf2e726c7d096698e15c3f67e7483
1 # Maintainer: Constantin Schomburg <me@xconstruct.net>
2 # Contributor: Kaspar Bumke <kaspar.bumke@gmail.com>
3 pkgname=virtualgl-bin
4 _srcname=VirtualGL
5 pkgver=2.3
6 _srcbranch='2.3'
7 pkgrel=1
8 pkgdesc="Redirects 3D commands from an OpenGL application onto a server-side 3D graphics card."
9 arch=('i686' 'x86_64')
10 url="http://virtualgl.org"
11 license=('GPL')
12 makedepends=(rpmextract)
13 provides=("virtualgl=${pkgver}")
14 conflicts=('virtualgl')
16 case "$CARCH" in
17         i686)
18                 _bldarch="i386"
19                 md5sums=('fb0704a2dd0ad661f91838a1a6611e51');;
20         x86_64)
21                 optdepends=('virtualgl32-bin: serverside components to run 32-bit applications')
22                 _bldarch="x86_64"
23                 md5sums=('fefbf98b172a01f987f45d749f0ff511');;
24 esac
26 source=("http://downloads.sourceforge.net/project/virtualgl/VirtualGL/$_srcbranch/$_srcname-$pkgver.$_bldarch.rpm")
27 noextract=($_srcname-$pkgver.$_bldarch.rpm)
29 build() {
30   cd "$srcdir"
31   rpmextract.sh $_srcname-$pkgver.$_bldarch.rpm
32   mv usr opt $pkgdir