updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / thinliquidfilm / PKGBUILD
blobfe218a4d3f658fc003d158c205a3ff29a470c9e2
1 # Original Contributor: Giovanni Scafora <linuxmania@gmail.com>
2 # Contributor: Gergely Imreh <imrehg(at)gmail(dot)com>
4 pkgname=thinliquidfilm
5 pkgver=1.00
6 pkgrel=5
7 pkgdesc="Convert video files into a format suitable for playing on the video capable ipods"
8 arch=('i686')
9 url="http://www.thinliquidfilm.org"
10 license=('GPL2')
11 depends=('libgpod' 'pyqt3' 'ffmpeg')
12 install=thinliquidfilm.install
13 source=(http://www.thinliquidfilm.org/tlf-1.00.tar.bz2 
14         thinliquidfilm.desktop
15         # Fixes to make TLF work with current Arch ffmpeg
16         0001-Fix-syntax-of-ffmpeg-interactions.patch
17         0002-Fix-regular-expression-matching-of-ffmpeg-output.patch
18         0003-Fix-change-of-motion-estimation-command-line-param.patch
19        )
20 build() {
21   cd "$startdir/src/$pkgname"
23   msg "Applying patches"
24   for file in `dir -d ../*.patch` ; do
25      echo "  ${file:3}"
26      patch -p1 < $file
27   done
30   install -d $startdir/pkg/usr/bin
31   mv StuffIt\ Expander.png StuffIt_Expander.png
32   for i in *.py; do
33     install -D -m755 $i $startdir/pkg/usr/share/$pkgname/$i
34   done
35   for i in *.png; do
36     install -m644 $i $startdir/pkg/usr/share/$pkgname/$i
37   done
38   ln -sf /usr/share/thinliquidfilm/thinliquidfilm.py $startdir/pkg/usr/bin/thinliquidfilm
39   install -D -m644 ../thinliquidfilm.desktop $startdir/pkg/usr/share/applications/thinliquidfilm.desktop
42 md5sums=('2f4192945cd3b381fd62c76bf9e819fe'
43          '6c66429ad64806fc4fba489bdd8ce47f'
44          '566aa6e66f9d2077da071c5759522f94'
45          '451d5ad3cb7bb577174d4d21f7bf57e4'
46          'f0d8ecdcc1a027893a329452ef6898bc')