1 # Current maintainer: Kozec <kozec at kozec dot com>
2 # Contributor: Alex Anthony <alex.anthony28991 at googlemail.com>
3 # Adapted from PKGBUILD by atie H. <atie.at.matrix@gmail.com>
5 pkgname=clutter-gst-git
8 pkgdesc="Gstreamer bindings for Clutter"
10 url="http://clutter-project.org/"
12 depends=('clutter>=1.4.0' 'gstreamer0.10-base')
13 makedepends=('gtk-doc' 'git')
15 provides=('clutter-gst=1.3.2')
16 conflicts=('clutter-gst')
19 _gitroot="git://git.clutter-project.org/clutter-gst"
20 _gitname="clutter-gst"
25 rm -rf ./$_gitname-build
26 msg "Connecting to git.clutter-project.org GIT server...."
28 if [ -d $srcdir/$_gitname ] ; then
29 cd $_gitname && git pull origin
30 msg "The local files are updated."
35 msg "GIT checkout done or server timeout"
36 msg "Starting make..."
38 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
39 cd $srcdir/$_gitname-build
42 ./autogen.sh --prefix=/usr --disable-introspection || return 1
44 make DESTDIR=$startdir/pkg install || return 1
46 rm -rf ${srcdir}/$_gitname-build