1 # Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
2 # Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
6 pkgdesc="Apertium language data for the Spanish-Romanian 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"
16 md5sums=('9de6e21ddf8dfb65a6b09b430e8ab600'
17 'e0d964dad84346f98b500505d428b687'
18 'f4067b2a28d94dc08feff01a41f2d107'
19 '0a6caa9170cca54ba1146803e6cdb1e6')
22 patch -p0 < Makefile.am.patch
23 patch -p0 < configure.ac.patch
24 patch -p0 < trules.patch
26 mkdir -p "$pkgdir/usr/share/apertium/modes"
28 cd "$srcdir/$pkgname-$pkgver"
32 ./configure --prefix=/usr
34 make DESTDIR="$pkgdir/" install || return 1