updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / mozzemberek-svn / PKGBUILD
bloba0490180fb1e560bf4bf4dddaedc59ae7c6c67dc
1 # Contributor: Samed Beyribey <ras0ir at eventualis dot org>
2 pkgname=mozzemberek-svn
3 pkgver=436
4 pkgrel=1
5 pkgdesc="MozZemberek is an extension which provides Turkish spell checking using Zemberek server installed on the same computer"
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/zemberek"
8 license=('GPL')
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
14 _svnmod=mozzemberek
16 build() {
17   cd "$srcdir"
19   if [ -d $_svnmod/.svn ]; then
20     (cd $_svnmod && svn up -r $pkgver)
21   else
22     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
23   fi
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"
32   #
33   # Let's Rock
34   #
35  make DESTDIR="$pkgdir/" MOZILLA_FIVE_HOME="/usr/lib/firefox-3.6" install-unpacked