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

# parabola changes and rationale:
#  no changes
# NOTE: the AUR PKGBUILD patches the autotools files
#       but it was using a version of 'apertium-en-es' from 2011
#       so i did not take the patches


pkgname=apertium-lex-tools
pkgver=0.2.0
pkgrel=1
pkgdesc="Apertium lex tools for compiling translation pairs"
url="http://apertium.org"
license=('GPL3')
makedepends=()
depends=('apertium>=3.5' 'lttoolbox>=3.4')
arch=('i686' 'x86_64' 'armv7h')
source=(https://github.com/apertium/apertium-lex-tools/archive/v${pkgver}.tar.gz)

md5sums=('7b47064210b9807956e68c5c132bc1ff')
sha256sums=('c8d94488a0b7c3eec99699d8532b7218b6ed6a41023dfb9281fd15860c4e0419')


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

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

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

  make DESTDIR="$pkgdir/" install
}