updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / macrofusion / PKGBUILD
blob27992ad4f814fad0bc15770ff9f882aef794dd1b
1 # Contributor: Zuf <kontakt.zuf(at)gmail.com> https://github.com/zuf/aur-packages
3 pkgname=macrofusion
4 pkgver=0.7.2
5 pkgrel=3
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')
9 makedepends=()
10 conflicts=('macrofusion')
11 arch=('i686' 'x86_64')
12 replaces=('macrofusion')
13 backup=()
14 source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}/${pkgname}_${pkgver}.orig.tar.gz" python2_patch.diff)
15 md5sums=('de2427c56b775f76c7482d5b36c718a7'
16          'c7e1ef9adb169651c588c45312d3b744')
17 license=('GPL')
19 build() {
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"