1 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="A Grammar Checking library"
9 url="https://www.abisource.com/projects/link-grammar/"
11 depends=('hunspell' 'sqlite' 'libedit')
12 makedepends=('python' 'swig' 'apache-ant' 'java-environment=11')
13 options=('!makeflags')
14 source=(https://www.abisource.com/downloads/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc})
15 validpgpkeys=('6407453C98BECC19ADB03D82EB6AA534E0C0651C'
16 '8305252160000B5E89843F5464A99A8201045933') # Linas Vepstas <linasvepstas@gmail.com>
17 sha256sums=('ef89a322f943607546a667ecb4fdf31d56cab5ed11c856873ac72fa3d352f7a3'
21 cd ${pkgname}-${pkgver}
23 ./configure --prefix=/usr
25 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
30 cd ${pkgname}-${pkgver}
32 make DESTDIR="${pkgdir}" install