1 # Contributor: atie H. <atie.at.matrix@gmail.com>
6 pkgdesc="Qt libraries for Clutter"
8 url="http://clutter-project.org/"
10 depends=('clutter-svn' 'qt')
12 provides=('clutter-qt')
13 conflicts=('clutter-qt')
17 _svntrunk=http://svn.o-hand.com/repos/clutter/trunk/clutter-qt
23 msg "Connecting to $_svntrunk ..."
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver) || return 1
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod || return 1
29 msg "SVN checkout done or server timeout"
31 if [ -d ${_svnmod}-build ]; then
32 msg "Deleting old build directory"
33 rm -rf ${_svnmod}-build
36 msg "Setting up build environment..."
37 cp -r ${_svnmod} ${_svnmod}-build || return 1
38 cd ${_svnmod}-build || return 1
42 ./configure --prefix=/usr || return 1
44 make DESTDIR=$startdir/pkg install || return 1
46 rm -rf ${srcdir}/$_svnmod-build