updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / apertium-en-gl / PKGBUILD
blob758fee8e0be87376521e1636e496cd5c296d86e7
1 # Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
2 # Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
3 pkgname=apertium-en-gl
4 pkgver=0.5.1
5 pkgrel=2
6 pkgdesc="Apertium language data for the English-Galician 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 md5sums=('daaba4c47ed5cbfbdd9c9410044ffa31'
16          '106b362aa9693eee1c94c55f0f00fa33'
17          '0040d866c8c2baed89a744c699e0179d')
19 build() {
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"
27   autoreconf -i
29   ./configure --prefix=/usr
30   make || return 1
31   make DESTDIR="$pkgdir/" install || return 1