1 # Contributor: Samed Beyribey <ras0ir at eventualis dot org>
2 pkgname=mozzemberek-svn
5 pkgdesc="MozZemberek is an extension which provides Turkish spell checking using Zemberek server installed on the same computer"
7 url="http://code.google.com/p/zemberek"
9 depends=('firefox' 'zemberek-server')
10 makedepends=('xulrunner' 'subversion')
11 provides=("mozzemberek='0.1.3'")
12 install=(mozzemberek.install)
13 _svntrunk=http://zemberek.googlecode.com/svn/trunk/mozzemberek
19 if [ -d $_svnmod/.svn ]; then
20 (cd $_svnmod && svn up -r $pkgver)
22 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 msg "SVN checkout done or server timeout"
26 msg "Starting make..."
28 rm -rf "$srcdir/$_svnmod-build"
29 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
30 cd "$srcdir/$_svnmod-build"
35 make DESTDIR="$pkgdir/" MOZILLA_FIVE_HOME="/usr/lib/firefox-3.6" install-unpacked