blob: b6db8c8873b37f03bb1a4c2da667c8416d7a14a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org>
# Maintainer: Kevin Brubeck Unhammer <unhammer@fsfe.org>
pkgname=apertium-en-ca
pkgver=0.9.3
pkgrel=2
pkgdesc="Apertium language data for the English-Catalan (including Valencian) translator."
url="http://apertium.org"
license=('GPL')
makedepends=('pkgconfig')
depends=('lttoolbox>=3.2' 'apertium>=3.2')
arch=('i686' 'x86_64')
source=("https://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz"
"Makefile.am.patch"
"configure.ac.patch")
md5sums=('c984145a73c10c332c45b92bb676c37a'
'452356ce2ca88ad9c7cba79c879f8961'
'69cf23698c83a2d4456a0b5c0f7d8a13')
sha256sums=('c56e1f1c3fece009dc7c6b68af70f04ca9fbdee8e4b5e2ed8ea603f2f22ef0d5'
'fd8d3d4b91201a4c451c9ca39dd1ccae26749d1e9a319bd1c6e5e899878be2de'
'f8e473ed4b180976d09a772f5d5f0827a019c4ad3ca420a818e38c9402da72e3')
build() {
patch -p1 < configure.ac.patch
patch -p1 < Makefile.am.patch
cd "$srcdir/$pkgname-$pkgver"
autoreconf -fi
./configure --prefix=/usr
make
}
package() {
mkdir -p "$pkgdir/usr/share/apertium/modes"
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
|