summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d820e2b08ce3a8275f0339adcab90090ab41aca8 (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=toad
pkgname=toad-git
pkgver=1
pkgrel=3
pkgdesc="Toad: Trainer Of All Data, the Frog training collection"
arch=('i686' 'x86_64')
url="http://languagemachines.github.io/frog"
license=('GPL3')
depends=('ticcutils' 'ucto' 'libfolia' 'icu' 'libxml2' 'timbl' 'mbt' 'mbtserver' 'frog' 'frogdata')
provides=('toad')
conflicts=('toad')
makedepends=('libtool' 'autoconf')
options=(!libtool)
source=("git+https://github.com/LanguageMachines/toad.git")
_gitname=("toad")
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
}