updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / apertium-br-fr / PKGBUILD
blobca551d067a6be845ab912b10f6e9c198eb794f41
1 # Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
2 # Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
3 pkgname=apertium-br-fr
4 pkgver=0.2.0
5 pkgrel=2
6 pkgdesc="Apertium language data for the Breton-French translator."
7 url="http://apertium.org"
8 license=('GPL')
9 makedepends=('pkgconfig')
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"
13         "Makefile.am.patch"
14         "Makefile.in.patch")
15 md5sums=('08486883879b4a2d0c4b36f1637249b8'
16          '0b4b17fda850b7c0bc0615949afc84c2'
17          'd353ffcb940c44092e7031aeb19fb15e')
19 build() {
20   patch -p0 < Makefile.am.patch
21   patch -p0 < Makefile.in.patch
23   mkdir -p "$pkgdir/usr/share/apertium/modes"
25   cd "$srcdir/$pkgname-$pkgver"
27   ./configure --prefix=/usr
28   make || return 1
29   make DESTDIR="$pkgdir/" install || return 1