1 # Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
2 # Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
6 pkgdesc="Java port of lttoolbox. Handles lexical processing, morphological analysis and generation of words in natural languages using fast finite state transducers."
7 url="http://wiki.apertium.org/wiki/Lttoolbox-java"
9 makedepends=('apache-ant')
10 depends=('java-runtime' 'sh')
12 arch=('i686' 'x86_64')
13 source=(http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz
15 md5sums=('6e029b981a721c6ad515d879e4a6478a'
16 '2304c7390728fea1b8d0ba2cce2bd780')
19 patch -p0 < Makefile.patch
21 cd "$srcdir/$pkgname-$pkgver"
23 ./autogen.sh --prefix=/usr
25 make DESTDIR="$pkgdir/" install || return 1
26 # There is some bug in the released source; so use the pre-packaged
27 # one instead (this is fixed upstream though, waiting for new release):
28 cp lttoolbox.jar $pkgdir/usr/share/apertium