updated on Sat Jan 21 08:01:15 UTC 2012
[aur-mirror.git] / photofilmstrip / PKGBUILD
bloba251ca0360b01897e8288baacd1dfd78de769402
1 # Maintainer: Dan Serban
2 # Contributor: Alexandre Courbot
4 pkgname=photofilmstrip
5 pkgver=1.5.0
6 pkgrel=1
7 pkgdesc="Creates movies out of pictures using a Ken Burns effect"
8 arch=(any)
9 url=http://www.photofilmstrip.org/
10 license=(GPL)
11 depends=(mencoder python-imaging wxpython)
12 source=("http://downloads.sourceforge.net/project/photostoryx/photofilmstrip/${pkgver}/photofilmstrip-${pkgver}.tar.gz")
13 md5sums=('15902c23fcf8f982f109ec88001ceb78')
15 build()
17   cd photofilmstrip-${pkgver}
18   sed -i 's/python/python2/g' Makefile
19   make compile
20   DESTDIR="${pkgdir}" make install
21   sed -i 's/python/python2/g' "${pkgdir}"/usr/bin/*
22   mkdir -p "${pkgdir}"/usr/share/doc
23   cd doc
24   mv photofilmstrip "${pkgdir}"/usr/share/doc/
25   chmod 755 "${pkgdir}"/usr/bin/*
26   find "${pkgdir}"/usr/share -type d -exec chmod 755 {} \;
27   find "${pkgdir}"/usr/share -type f -exec chmod 644 {} \;