updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / iencode-svn / PKGBUILD
blob863163b03aec1f9aaa528bd9438dcb4db572173c
1 # Maintainer: Schnouki <thomas.jost@gmail.com>
2 pkgname=iencode-svn
3 pkgver=48
4 pkgrel=1
5 pkgdesc="A set of scripts and config file to ease encoding of movies for iPhone/iPod Touch"
6 arch=('any')
7 url="https://svn.tynsoe.org/projects/iencode/"
8 license=('misc')
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
16 _svnmod=iencode
18 build() {
19   cd ${srcdir}
21   if [ -d $_svnmod/.svn ]; then
22     (cd $_svnmod && svn up -r $pkgver)
23   else
24     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25   fi
27   msg "SVN checkout done or server timeout"
28   msg "Starting make..."
30   cp -r $_svnmod $_svnmod-build
31   cd $_svnmod-build
33   cd ${srcdir}/iencode
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