summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 485825e64d3eb7ccc3b8ac792dde7ce256c9f4ef (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
# Maintainer: Tony Lambiris <tony@libpcap.net>

pkgname=gposttl-git
pkgver=r34.4d19dda
pkgrel=2
pkgdesc="Brill's Parts-of-Speech Tagger, with built-in Tokenizer and Lemmatizer"
arch=(x86_64)
url="http://gposttl.sourceforge.net/"
license=(MIT)
depends=(glibc)
options=(!strip)
makedepends=(git autoconf)
source=("$pkgname::git+https://github.com/tonylambiris/gposttl")
sha256sums=('SKIP')

pkgver() {
  cd "$pkgname"

  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$pkgname"

  ./autogen.sh
  ./configure --prefix=/usr

  make
}

package() {
  cd "$pkgname"

  make DESTDIR="$pkgdir" install
}