updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / apertium-mk-en / PKGBUILD
blob6df535d14edfec41ec35dd39970cce03b9c9395c
1 # Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
2 # Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
3 pkgname=apertium-mk-en
4 pkgver=0.1.0
5 pkgrel=2
6 pkgdesc="Apertium language data for the Macedonian-English translator."
7 url="http://apertium.org"
8 license=('GPL')
9 makedepends=('pkgconfig')
10 depends=('lttoolbox>=3.2.0' 'apertium>=3.2.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         "lexchoicebil.xsl")
16 md5sums=('622842068b69a91b946f7581c849b06c'
17          '73d657f51144882f538afbad1be2370f'
18          '63a2dc9baeeec1d6807c2a4072759c59'
19          '15b194d1670b1ed768d6e8756ec98d97')
21 build() {
22   patch -p0 < Makefile.am.patch
23   patch -p0 < Makefile.in.patch
24   cp lexchoicebil.xsl "$srcdir/$pkgname-$pkgver/"
26   mkdir -p "$pkgdir/usr/share/apertium/modes"
28   cd "$srcdir/$pkgname-$pkgver"
30   ./configure --prefix=/usr
31   make || return 1
32   make DESTDIR="$pkgdir/" install || return 1