1 # Contributor: Ismael Barros (RazZziel) <razielmine@gmail.com>
5 _pkgver2=`echo $pkgver | tr '.' '_'`
7 pkgdesc="Converts panoramic images into QuickTime VR or Macromedia Flash formats."
8 url="http://gardengnomesoftware.com/pano2vr.php"
14 md5sums=('7b1c2b770b2bd41aad7964178c5fe964')
16 [ "$CARCH" = "x86_64" ] && {
17 source+=(http://gardengnomesoftware.com/download/${pkgname}/${pkgname}_linux64_${_pkgver2}.tar.gz)
18 md5sums+=('1bafb2a3f3ae8296fb5d1c6cfdb7e3e4')
20 source+=(http://gardengnomesoftware.com/download/${pkgname}/${pkgname}_linux_${_pkgver2}.tar.gz)
21 md5sums+=('13e218cbdba9b7b3f04c2adf5eb8e336')
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/