summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 225aa41ea7f8385920a1586016c6ef3cb449ed29 (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
# Maintainer: Maarten van Gompel <proycon at anaproy.nl>

_pkgname=frog
pkgname=frog-git
pkgver=1
pkgrel=4
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')
url="https://languagemachines.github.io/frog"
license=('GPL3')
depends=('ticcutils' 'ucto' 'libfolia' 'icu' 'libxml2' 'frogdata' 'timbl' 'mbt')
provides=('frog')
conflicts=('frog')
makedepends=('libtool' 'autoconf')
options=(!libtool)
source=("git://github.com/LanguageMachines/frog.git")
_gitname=("frog")
noextract=()
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/$_gitname"
    git rev-list --count HEAD
}

build() {
    cd "$srcdir/$_gitname"
    bash bootstrap.sh || return 1
    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
    make || return 1
}

package() {
  cd "$srcdir/$_gitname"
  make DESTDIR=$pkgdir install
}