1 # Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
2 # Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
6 pkgdesc="Apertium language data for the Haitian Creole-English 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"
16 md5sums=('73d6dbbb2c1ad50b8e6c5428f4fc7a9e'
17 'e99487bbc9df970596882bdc1b152218'
18 '8625b7f9ee07b3696e71a49129db01fd'
19 'b8f420edd5577fabef485dcb6d08a5e6')
22 patch -p0 < Makefile.am.patch
23 patch -p0 < Makefile.in.patch
24 # remove the c (comment) attribute, not in the DTD in apertium<=3.1.1:
27 mkdir -p "$pkgdir/usr/share/apertium/modes"
29 cd "$srcdir/$pkgname-$pkgver"
31 ./configure --prefix=/usr
33 make DESTDIR="$pkgdir/" install || return 1