1 # Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
2 # Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
6 pkgdesc="Apertium language data for the English-Galician 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=('daaba4c47ed5cbfbdd9c9410044ffa31'
16 '106b362aa9693eee1c94c55f0f00fa33'
17 '0040d866c8c2baed89a744c699e0179d')
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