summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 97d24b9ba9936d7e2a17cd20b169f597101e7385 (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
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=link-grammar-git
pkgver=5.7.0.r166.g965b0b0f
pkgrel=1
pkgdesc="A Grammar Checking library"
arch=('x86_64')
url="http://www.abisource.com/projects/link-grammar/"
license=('LGPL')
depends=('hunspell' 'sqlite' 'libedit' 'pcre2' 'java-runtime<12')
makedepends=('swig' 'flex' 'graphviz' 'python' 'python2' 'java-environment<12')
conflicts=('link-grammar')
provides=('link-grammar')
source=("git+https://github.com/opencog/link-grammar")
md5sums=('SKIP')

pkgver() {
  cd ${pkgname%-git}
  git describe --tags | cut -c14- | sed 's+-+.r+' | tr - .
}

build() {
  cd ${pkgname%-git}
  ./autogen.sh
  ./configure --prefix=/usr --disable-python-bindings 
  make
}

package() {
  cd ${pkgname%-git}
  make DESTDIR="${pkgdir}" install
}