updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / table-svn / PKGBUILD
blob4407299b6c03bd7f86c4705c1dd3589936262e2f
1 # Contributor: Javier ‘Phrodo_00’ Aravena <Phrodo.00@gmail.com>
2 pkgname=table-svn
3 pkgver=1104
4 pkgrel=1
5 pkgdesc="Clutter based Surface-type toy"
6 arch=('i686')
7 url="http://njpatel.blogspot.com/2007/06/flickr-clutter-fluttr.html"
8 license=('GPL')
9 depends=('clutter>=0.3' 'clutter-gst>=0.3' 'gnome-vfs')
10 makedepends=('subversion')
11 options=('!libtool')
12 source=()
13 md5sums=()
14 _svntrunk=http://svn.o-hand.com/repos/clutter/trunk/toys/table
15 _svnmod=table
17 build() {
18   cd $startdir/src
20   if [ -d $_svnmod/.svn ]; then
21     (cd $_svnmod && svn up -r $pkgver)
22   else
23     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
24   fi
26   msg "SVN checkout done or server timeout"
27   msg "Starting make..."
29   cp -r $_svnmod $_svnmod-build
30   cd $_svnmod-build
32   make || return 1
33   install -D -m755 table $startdir/pkg/usr/bin/table
34   rm -rf $startdir/src/$_svnmod-build