updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / pano2vr / PKGBUILD
blob7f2f9d686e3a0ad4072494c0c0d387c75d9b8015
1 # Contributor: Ismael Barros (RazZziel) <razielmine@gmail.com>
3 pkgname=pano2vr
4 pkgver=2.2.3
5 _pkgver2=`echo $pkgver | tr '.' '_'`
6 pkgrel=1
7 pkgdesc="Converts panoramic images into QuickTime VR or Macromedia Flash formats."
8 url="http://gardengnomesoftware.com/pano2vr.php"
9 license=('Pano2VR')
10 arch=(i686 x86_64)
11 depends=('libgl')
13 source=(pano2vr.sh)
14 md5sums=('7b1c2b770b2bd41aad7964178c5fe964')
16 [ "$CARCH" = "x86_64" ] && {
17   source+=(http://gardengnomesoftware.com/download/${pkgname}/${pkgname}_linux64_${_pkgver2}.tar.gz)
18   md5sums+=('1bafb2a3f3ae8296fb5d1c6cfdb7e3e4')
19 } || {
20   source+=(http://gardengnomesoftware.com/download/${pkgname}/${pkgname}_linux_${_pkgver2}.tar.gz)
21   md5sums+=('13e218cbdba9b7b3f04c2adf5eb8e336')
24 build() {
25   install -d $pkgdir/opt/$pkgname
26   install -m755 $srcdir/$pkgname $pkgdir/opt/$pkgname
28   install -d $pkgdir/usr/bin/
29   install -m755 $srcdir/$pkgname.sh $pkgdir/usr/bin/$pkgname
31   install -d $pkgdir/usr/share/licenses/common/Pano2VR/
32   install -m644 $srcdir/license.txt $pkgdir/usr/share/licenses/common/Pano2VR/