1 # Maintainer: Schnouki <thomas.jost@gmail.com>
5 pkgdesc="A set of scripts and config file to ease encoding of movies for iPhone/iPod Touch"
7 url="https://svn.tynsoe.org/projects/iencode/"
9 depends=('gpac' 'mplayer')
10 optdepends=('atomicparsley: for tagging files')
11 makedepends=('subversion')
12 source=('iencode.patch')
13 md5sums=('ae1327d7fcf9efffb52007a8490eb76d')
15 _svntrunk=https://svn.tynsoe.org/svn/iencode
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
30 cp -r $_svnmod $_svnmod-build
34 patch -p0 < ${srcdir}/iencode.patch
36 install -Dm755 iencode ${pkgdir}/usr/bin/iencode
37 install -Dm755 divx-rename ${pkgdir}/usr/bin/divx-rename
38 install -Dm755 divx-tag ${pkgdir}/usr/bin/divx-tag
39 install -Dm644 iencode.conf ${pkgdir}/etc/iencode.conf
40 install -Dm644 README ${pkgdir}/usr/share/doc/iencode/README
42 rm -rf ${srcdir}/$_svnmod-build