summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2f3564c9b319f982fb6d1634f09bcd825b22ef4e (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=mbt
pkgname=mbt-git
pkgver=1
pkgrel=2
pkgdesc="Memory-based tagger-generator and tagger in one."
arch=('i686' 'x86_64')
url="http://ilk.uvt.nl/"
license=('GPL')
depends=('ticcutils' 'timbl' 'timblserver')
provides=('mbt')
conflicts=('mbt')
makedepends=('libtool' 'autoconf')
options=(!libtool)
source=("git://github.com/proycon/mbt.git")
_gitname=("mbt")
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
}