1 # Maintainer: Nezmer <Nezmer@gmail.com>
2 pkgname=schroedinger-git
5 pkgdesc="An implemenation of the Dirac video codec in ANSI C code (Git snapshots)"
7 url="http://www.diracvideo.org/"
8 license=('GPL2' 'LGPL2' 'MPL' 'MIT')
9 depends=('gstreamer0.10-base' 'orc-git')
11 provides=('schroedinger')
12 conflicts=('schroedinger')
17 _gitroot="git://diracvideo.org/git/schroedinger.git"
18 _gitname="schroedinger"
23 msg "Connecting to the schroedinger git repository..."
25 if [ -d "$srcdir/$_gitname" ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build/"
40 ./configure --prefix=/usr
42 make DESTDIR=$pkgdir install
44 install -m644 -D COPYING.MIT $pkgdir/usr/share/licenses/$pkgname/COPYING.MIT