1 # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
6 _pkgname=PanotourPro_$_pkgver
8 pkgdesc='Create pro-quality virtual tours'
10 url='http://kolor.com/'
11 license=('custom: "commercial"')
13 install=$pkgname.install
16 source=("PanotourPro_Linux32_150_2011-02-01.tar.gz::http://download.kolor.com/ptp/stable/linux32tar"
17 "$pkgname" "$pkgname.desktop")
18 md5sums=('c5bb7164619f5c60a2dbe5425f352928'
19 'e7bc184df7e778f46f922873d880e08a'
20 '0704b140470f7ff7492b76cf44e70b06')
23 source=("PanotourPro_Linux64_150_2011-02-01.tar.gz::http://download.kolor.com/ptp/stable/linux64tar"
24 "$pkgname" "$pkgname.desktop")
25 md5sums=('7119c127aeed1f338440a1768190335d'
26 'e7bc184df7e778f46f922873d880e08a'
27 '0704b140470f7ff7492b76cf44e70b06')
31 cd "$srcdir/$_pkgname" || return 1
32 install -dm755 $pkgdir/opt/$pkgname || return 1
33 tar -c ./ | tar -x -C $pkgdir/opt/$pkgname || return 1
34 install -Dm755 $srcdir/$pkgname $pkgdir/usr/bin/$pkgname || return 1
35 rm -f $pkgdir/opt/$pkgname/libQt* || return 1
36 install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
39 # vim:set ts=2 sw=2 et ft=sh tw=100: