1 # Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
2 # Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
6 pkgdesc="Apertium language data for the Basque-Spanish translator."
7 url="http://apertium.org"
9 makedepends=('pkgconfig' 'autoconf')
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=('990cbc06d639d7e1ecda0132405fe07a'
16 '7ce5bc046e8b9d3b23134332fee6143c'
17 '846c24b12b3528ae9e257b8d3c6796a8')
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