summaryrefslogtreecommitdiff
path: root/pcr/apertium/PKGBUILD
blob: 0a566a18e285277b08e6d4ddd5ae2cd9a240b7ff (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
# 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.4.2
pkgrel=1
pkgdesc="Language-independent machine translation engine and tools to manage language data."
url="http://apertium.org"
license=('GPL2')
makedepends=('pkgconfig' 'flex')
depends=('lttoolbox>=3.3.3' 'pcre' 'gawk' 'expat' 'libxslt')
options=('!libtool')
arch=('i686' 'x86_64' 'armv7h')
source=(http://downloads.sourceforge.net/sourceforge/apertium/apertium-${pkgver}.tar.gz)
md5sums=('c739b10e0a69c43e98590b1c064bcf89')
sha256sums=('67b787c342cbd44d4bcafffdb5da3db265d4ce07003be21e73821c44102d7dd5')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}