blob: 4af3fd7797281dbabd8096e60ac6c14517fbf6f6 (
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
|
# 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.10.2.r82.ga5a52cbf3
pkgrel=1
epoch=2
pkgdesc="A Grammar Checking library"
arch=('x86_64')
url="http://www.abisource.com/projects/link-grammar/"
license=('LGPL')
depends=('hunspell' 'sqlite' 'libedit' 'pcre2' 'python')
makedepends=('git' 'swig' 'flex' 'graphviz')
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-java-bindings
make
}
package() {
cd ${pkgname%-git}
make DESTDIR="${pkgdir}" install
}
|