1 # Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
2 # Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
6 pkgdesc="Apertium language data for the Esperanto-Catalan 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=('75b027c23e031bfdb645fbd120e82d72'
16 '99ff6b39e16ef8314a82951414bb2d66'
17 '4695b4ad4f6eb089b528bef0d2820a3f')
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