summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 24c544c7a7fa3bded627f25640313585c643af47 (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
# Maintainer: Benoit Favre <benoit.favre@gmail.com>

pkgname=opengrm-ngram
pkgver=1.2.1
pkgrel=1
pkgdesc="OpenGrm tool for making n-gram language models as weighted finite-state transducers"
arch=('i686' 'x86_64')
url="http://www.opengrm.org/"
license=('APACHE')
depends=('openfst')
source=("http://openfst.cs.nyu.edu/twiki/pub/GRM/NGramDownload/${pkgname}-${pkgver}.tar.gz")
md5sums=('8405ad428c5dd26e8b6fd805500bd00c')


build() {
    cd ${srcdir}/${pkgname}-${pkgver}
    ./configure --prefix=/usr LDFLAGS=-L/usr/lib/fst
    make
}

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