1 #Maintainer karnath <karnathtorjian@gmail.com>
3 pkgname=qgoogletranslator-svn
6 pkgdesc="Translates text via Google Translate engine"
8 url="http://code.google.com/p/qgt"
10 conflicts=("qgoogletranslator" "qgoogletranslator-svn")
11 provides=("qgoogletranslator-svn" "qgoogletranslator")
13 makedepends=('make' 'cmake' 'subversion')
15 _svntrunk="http://qgt.googlecode.com/svn/trunk/"
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Starting make..."
30 cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1
38 make DESTDIR=$pkgdir install || return 1