updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / apertium-cy-en / PKGBUILD
blob5aa4a980b2c90bb583c570d9867bd6ab8c61cfb8
1 # Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
2 # Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
3 pkgname=apertium-cy-en
4 pkgver=0.1.0
5 pkgrel=1
6 pkgdesc="Apertium language data for the Welsh-English translator."
7 url="http://apertium.org"
8 license=('GPL')
9 makedepends=('pkgconfig' 'autoconf')
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         "configure.ac.patch")
15 md5sums=('7067869350719ba2347e0a52d0143938'
16          '7c267173fc4f2a6bfce946bb81c6c3a0'
17          '687597e2eda763211d1594ba6b1a151a')
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