updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libtheora-svn / PKGBUILD
blobe049b147a776b9e1bae688130fe68cc717d63d28
1 # Contributor: b4283 <damispirit@gmail.com> 
2 # Contributor: Changaco <changaco@changaco.net>
4 pkgname=libtheora-svn
5 pkgver=16463
6 pkgrel=1
7 pkgdesc="An open video codec developed by the Xiph.org - development version"
8 arch=('i686' 'x86_64')
9 url="http://www.theora.org"
10 license=('BSD')
11 depends=('libogg')
12 makedepends=('subversion' 'autoconf')
13 provides=("libtheora=$pkgver")
14 conflicts=('libtheora')
15 source=()
16 md5sums=()
18 _svntrunk=http://svn.xiph.org/trunk
19 _svnmod=theora
21 build() {
22   cd "$srcdir"
24   if [ -d $_svnmod/.svn ]; then
25     (cd $_svnmod && svn up)
26   else
27     svn co $_svntrunk/$_svnmod
28   fi
30   msg "SVN checkout done or server timeout"
31   msg "Starting make..."
33   cd "$srcdir/$_svnmod"
34   ./autogen.sh --prefix="$pkgdir/usr" || return 1
35   make || return 1
36   make install || return 1