updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / ffmpeg2theora-svn / PKGBUILD
blobf7d63f1eac620980a1ced87c86da0424234717cc
1 # Contributor: Changaco <changaco ατ changaco δοτ net>
3 pkgname=ffmpeg2theora-svn
4 pkgver=1
5 pkgrel=3
6 pkgdesc="A simple converter to create Ogg Theora files - development version"
7 arch=('i686' 'x86_64')
8 url="http://v2v.cc/~j/ffmpeg2theora/"
9 license=('GPL')
10 depends=('libtheora-svn' 'ffmpeg-svn' 'libkate')
11 makedepends=('subversion' 'scons')
12 provides=("ffmpeg2theora=$pkgver")
13 conflicts=('ffmpeg2theora')
14 source=()
15 md5sums=()
17 _svntrunk=http://svn.xiph.org/trunk
18 _svnmod=ffmpeg2theora
20 build() {
21   cd "$srcdir"
23   if [ -d $_svnmod/.svn ]; then
24     (cd $_svnmod && svn up)
25   else
26     svn co $_svntrunk/$_svnmod
27   fi
29   msg "SVN checkout done or server timeout"
30   msg "Starting make..."
32   cd "$srcdir/$_svnmod"
33   mkdir ${pkgdir}/usr
34   scons install prefix=${pkgdir}/usr