summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-es-ast/PKGBUILD
blob: e2bd8e81522565152102bc3d4b11bd21389b063d (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
# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org>
# Maintainer: Kevin Brubeck Unhammer <unhammer@fsfe.org>
pkgname=apertium-es-ast
pkgver=1.1.0
pkgrel=1
pkgdesc="Apertium language data for the Spanish-Asturian translator."
url="http://apertium.org"
license=('GPL')
makedepends=('pkgconfig')
depends=('lttoolbox>=3.0' 'apertium>=3.0')
arch=('i686' 'x86_64')
source=("http://downloads.sourceforge.net/sourceforge/apertium/apertium-es-ast_NO-PN-${pkgver}.tar.gz")
md5sums=('3e94345c525b2c6de87a50d599f1ce04')

build() {
  mkdir -p "$pkgdir/usr/share/apertium/modes"

  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make || return 1
  make DESTDIR="$pkgdir/" install || return 1
}

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