1 # Contributor: Zuf <kontakt.zuf(at)gmail.com> https://github.com/zuf/aur-packages
6 pkgdesc="GUI to combine photos to get deeper DOF or HDR"
7 url="http://sourceforge.net/projects/macrofusion/"
8 depends=('enblend-enfuse' 'hugin' 'python2' 'python-imaging')
10 conflicts=('macrofusion')
11 arch=('i686' 'x86_64')
12 replaces=('macrofusion')
14 source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}/${pkgname}_${pkgver}.orig.tar.gz" python2_patch.diff)
15 md5sums=('de2427c56b775f76c7482d5b36c718a7'
16 'c7e1ef9adb169651c588c45312d3b744')
20 cd "${srcdir}/${pkgname}-${pkgver}"
22 mkdir -p "$pkgdir/usr/share/applications/"
23 install -m 755 macrofusion.desktop "$pkgdir/usr/share/applications/"
24 mkdir -p "$pkgdir/usr/share/mfusion/ui/"
25 cp -r ui/* "$pkgdir/usr/share/mfusion/ui/"
26 mkdir -p "$pkgdir/usr/share/locale/"
27 cp -r locale/* "$pkgdir/usr/share/locale/"
28 mkdir -p "$pkgdir/usr/share/pixmaps/macrofusion/"
29 cp images/macrofusion.png "$pkgdir/usr/share/pixmaps/"
30 mkdir -p "$pkgdir/usr/share/mfusion/images/"
31 cp images/logoSplash.png "$pkgdir/usr/share/mfusion/images/"
33 patch < "${srcdir}/../python2_patch.diff"
35 cp -f macrofusion.py macrofusion
36 mkdir -p "$pkgdir/usr/bin"
37 install -m 755 macrofusion "$pkgdir/usr/bin"