summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 818873102d3a01725393652bd73b05d34059afb9 (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
# Maintainer: Maarten van Gompel <proycon at anaproy dot nl>
pkgname=frog
pkgver=0.33
pkgrel=2
pkgdesc="Frog is an integration of memory-based natural language processing (NLP) modules developed for Dutch. It includes a tokenizer, part-of-speech tagger, lemmatizer, morphological analyser, named entity recognition, shallow parser and dependency parser."
arch=('i686' 'x86_64')
license=('GPL3')
depends=('ticcutils>=0.34' 'ucto>=0.33' 'libfolia>=2.17' 'icu' 'libxml2'  'frogdata>=0.22' 'timbl>=6.9' 'mbt>=3.10' 'mbtserver')
makedepends=('libtool' 'autoconf')
options=(!libtool)
_gituser="LanguageMachines"
_gitname="frog"
url="http://languagemachines.github.io/frog"
source=(https://github.com/LanguageMachines/frog/archive/v0.33.tar.gz)
md5sums=(23c2582b9867c6c69457c9bcf5347471)

build() {
  cd $srcdir/$pkgname-$pkgver
  export CXXFLAGS="-std=c++17"
  bash bootstrap.sh
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

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