1 # Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
2 # Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
6 pkgdesc="Apertium language data for the Esperanto-Spanish translator."
7 url="http://apertium.org"
9 makedepends=('pkgconfig')
10 depends=('lttoolbox>=3.0' 'apertium>=3.0')
11 arch=('i686' 'x86_64')
12 source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz"
15 md5sums=('92db1e1e1cae12b93f300dbb1f1138c0'
16 'd543d8d7c17fedd791b38a1694defdb3'
17 'd9c2eeea53f85b61b8a225310cca9cd7')
20 patch -p0 < Makefile.am.patch
21 patch -p0 < configure.ac.patch
23 mkdir -p "$pkgdir/usr/share/apertium/modes"
25 cd "$srcdir/$pkgname-$pkgver"
29 ./configure --prefix=/usr
31 make DESTDIR="$pkgdir/" install || return 1