1 # Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
2 # Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
6 pkgdesc="Apertium language data for the Welsh-English translator."
7 url="http://apertium.org"
9 makedepends=('pkgconfig' 'autoconf')
10 depends=('lttoolbox>=3.0' 'apertium>=3.0' 'vislcg3>=0.9.7.6010')
11 arch=('i686' 'x86_64')
12 source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz"
15 md5sums=('7067869350719ba2347e0a52d0143938'
16 '7c267173fc4f2a6bfce946bb81c6c3a0'
17 '687597e2eda763211d1594ba6b1a151a')
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