1 # Contributor: Jesse Jaara <jesse.jaara@gmail.com>
3 pkgname=swfdec-mozilla-git
6 pkgdesc="Free library for decoding and rendering Flash animations"
8 url="http://swfdec.freedesktop.org"
10 depends=('swfdec-git')
12 provides=('swfdec-mozilla')
13 conflicts=('swfdec-mozilla' 'swfdec-mozilla-devel' 'flashplugin')
16 _gitroot="git://anongit.freedesktop.org/git/swfdec/swfdec-mozilla"
17 _gitname="swfdec-mozilla"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
42 ./configure --prefix=/usr --with-plugin-dir=/usr/lib/mozilla/plugins/
44 make DESTDIR="$pkgdir/" install