summaryrefslogtreecommitdiff
path: root/pcr/apertium-en-es/PKGBUILD
blob: f7f20e95d455061092f520f7560bb9be22c452cc (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
41
# 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-en-es-git
pkgver=d0a72e428a23081aaf479d00f30d63053a149cce
pkgrel=1
pkgdesc="Apertium translation pair for English and Spanish"
url="http://apertium.org"
license=('GPL2')
makedepends=('apertium-lex-tools')
depends=('apertium>=3.4')
arch=('i686' 'x86_64' 'armv7h')
source=(https://github.com/apertium/apertium-en-es/archive/${pkgver}.zip)
md5sums=('e07b933c9b3afb7526e342dfa05f7999')
sha256sums=('ddee8430463c796a85b3c6fb42735dc7352941a403564f5808e7479ba7895d27')

_builddir="${pkgname/%-git}-$pkgver"


build()
{
  cd "$srcdir/$_builddir"

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

package()
{
  cd "$srcdir/$_builddir"

  make DESTDIR="$pkgdir/" install
}