updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / apertium-es-ro / PKGBUILD
blobc6c82a0615a910e8e8ab3e4647d2bb8dcd629faf
1 # Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
2 # Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
3 pkgname=apertium-es-ro
4 pkgver=0.7.1
5 pkgrel=1
6 pkgdesc="Apertium language data for the Spanish-Romanian translator."
7 url="http://apertium.org"
8 license=('GPL')
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"
13         "Makefile.am.patch"
14         "configure.ac.patch"
15         "trules.patch")
16 md5sums=('9de6e21ddf8dfb65a6b09b430e8ab600'
17          'e0d964dad84346f98b500505d428b687'
18          'f4067b2a28d94dc08feff01a41f2d107'
19          '0a6caa9170cca54ba1146803e6cdb1e6')
21 build() {
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"
30   autoreconf -i
32   ./configure --prefix=/usr
33   make || return 1
34   make DESTDIR="$pkgdir/" install || return 1