1 # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
5 pkgdesc="High-dynamic-range (HDR) photo manager"
7 url="http://www.coolhall.com/homepage/bracket/bracket.html"
10 [ $CARCH = "x86_64" ] && depends=('lib32-gcc-libs' 'lib32-libx11')
11 source=(http://www.coolhall.com/homepage/bracket/bracket.tgz \
12 bracket.sh bracket.desktop LICENSE)
13 # it's easier to package when it's not extracted because
14 # everything is extracted into top-level directory
15 noextract=(bracket.tgz)
16 md5sums=('01d672a0396713fbb3c1550ff1940fd3'
17 '44843e54070c6ceb3edfd1a40733fa84'
18 '2329f492f602dbe473d5bc61beef8c9a'
19 'cff557f101a7d2c7e5b066f4687df3f1')
27 install -d -m755 "$pkgdir"/opt/$pkgname
28 bsdtar -C "$pkgdir"/opt/$pkgname -xf bracket.tgz
30 install -D -m755 bracket.sh "$pkgdir"/usr/bin/bracket
31 install -D -m755 bracket.desktop "$pkgdir"/usr/share/applications/bracket.desktop
34 find "$pkgdir"/opt/$pkgname -type d -exec chmod 755 '{}' '+'
35 find "$pkgdir"/opt/$pkgname -type f -exec chmod 644 '{}' '+'
36 chmod 755 "$pkgdir"/opt/$pkgname/bracket
38 # install license taken from the homepage (it's in the footer)
39 install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
42 # vim:set ts=2 sw=2 et: