summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d6d015392b4b8f1d89d69cf55e328dccf3bb288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: FoolEcho <foolecho at gmail dot com>
# Contributor: Emeric <emeric.grange@gmail.com>
# Contributor: dracorp
# Contributor: Piotr Rogo┼╝a <rogoza dot piotr at gmail dot com>
# Created: 18/03/2011
pkgname=autopanogiga
pkgver=4.4.2
pkgrel=3
pkgdesc='Create beautiful panoramas by stitching multiple photos automatically with Autopano Giga (trial version).'
arch=('x86_64')
url='http://kolor.com/autopano/'
license=('custom: "commercial"')
install="$pkgname.install"
changelog=ChangeLog
_archiveversion=400
_archivename=AutopanoGiga_Linux64_${pkgver}.tar.xz

source=("$_archivename::http://download.kolor.com/apg/stable/linux64tarxz/${pkgver}.${_archiveversion}"
        "$pkgname"
        "$pkgname.png"
        "$pkgname.desktop")

sha256sums=('a2546989f5d02fbcced61a81c65988c592af3a904eda0da4c5fad8a45a7af230'
            '80114777faed6326764d14143f533efb473695d99e1771b2fdfbae89f3942fad'
            '0ea1b5efe83ef091c629cf9615df306440131586235f1ae7b41856c9b6ddcd6b'
            'a7456db2e25dc33952ee42202edf31b070493e157945d40a4645187a1d49336b')

package() {
  cd "$srcdir/AutopanoGiga"
  install -dm755 $pkgdir/{opt/kolor/,usr/share/licenses/$pkgname/}
  cp -r $srcdir/AutopanoGiga $pkgdir/opt/kolor/$pkgname
  cp $srcdir/$pkgname.png $pkgdir/opt/kolor/$pkgname/Resources/UI/autopano_giga.png
  mv $pkgdir/opt/kolor/$pkgname/copyright $pkgdir/usr/share/licenses/$pkgname/
  install -Dm755 $srcdir/$pkgname $pkgdir/usr/bin/$pkgname
  install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
}