blob: 1a9963cc7fe1ff91191167fded667f58927c95a8 (
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.6.2.r114.g91d17a72
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')
makedepends=('swig' 'flex' 'graphviz' 'python' 'python2')
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
}
|