# Maintainer: Marc Riera # Contributor: Kevin Brubeck Unhammer 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 }