1 # Contributor: Marco Siviero <marcosiviero.mobile@gmail.com>
3 pkgname=qwit-tosate-svn
6 pkgdesc="Qt4 cross-platform client for Twitter; tosate branch with followers management"
8 url="http://code.google.com/p/qwit/"
10 depends=('qt' 'openssl')
11 provides=('qwit' 'qwit-svn')
12 conflicts=('qwit' 'qwit-svn')
14 _svnbranch=http://qwit.googlecode.com/svn/branches/tosate
19 msg "Connecting to SVN server...."
21 if [ -d "$_svnmod/.svn" ] ; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn checkout $_svnbranch --config-dir ./ -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$_svnmod-build"
30 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
31 cd "$srcdir/$_svnmod-build"
33 qmake PREFIX=/usr || return 1
35 make INSTALL_ROOT="$pkgdir" install || return 1