blob: be4908220119a393872c2597f932f4f030a178dc (
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
|
# Maintainer: Marc Riera <marcriera@softcatala.org>
# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org>
pkgname=vislcg3
pkgver=1.4.6
pkgrel=1
pkgdesc="Compiler and parser for Constraint Grammar (CG), a paradigm for robust, rule-based Natural Language Parsing."
url="https://visl.sdu.dk/cg3.html"
license=('GPL3')
makedepends=('boost' 'gperftools' 'cmake')
depends=('icu')
optdepends=('perl: cg3-autobin.pl auto-compile-and-run wrapper')
arch=('i686' 'x86_64')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/GrammarSoft/cg3/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('3d5322db5ef488bc12b149043714ccb07da98c989b00bcefb219c96d43029964')
install='vislcg3.install'
package () {
cd "$srcdir/cg3-$pkgver"
make DESTDIR="$pkgdir/" install
}
build() {
cd "$srcdir/cg3-$pkgver"
./cmake.sh -D CMAKE_INSTALL_PREFIX=/usr && make
}
|