summaryrefslogtreecommitdiff
path: root/pcr/apertium/PKGBUILD
blob: 30529368a5135a7d69c7b1482e8b78c666dba18f (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
# Contributor (AUR): Kevin Brubeck Unhammer <unhammer@fsfe.org>
# Maintainer (AUR): Kevin Brubeck Unhammer <unhammer@fsfe.org>

# parabola changes and rationale:
#  no changes


pkgname=apertium
pkgver=3.5.1
pkgrel=1
pkgdesc="Language-independent machine translation engine and tools to manage language data."
url="http://apertium.org"
license=('GPL2')
makedepends=('flex' 'pkgconfig' 'subversion')
depends=('lttoolbox>=3.3.3' 'pcre' 'gawk' 'expat' 'libxslt')
options=('!libtool')
arch=('i686' 'x86_64' 'armv7h')
source=(https://github.com/apertium/apertium/archive/v${pkgver}.tar.gz)
md5sums=('1ff1cb4cd1fb8a5bbe8952e2bc06a84b')
sha256sums=('867e69cf2a146a580116bcc210e56695301e521caad5714bbe418122c21dc5c4')


build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
}