summaryrefslogtreecommitdiff
path: root/extra/link-grammar/PKGBUILD
blob: 713af6a4c040ebd4fc79f2d6539504dec3883c96 (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
# $Id: PKGBUILD 198311 2013-10-30 14:05:41Z allan $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=link-grammar
pkgver=4.8.0
pkgrel=1
pkgdesc="A Grammar Checking library"
arch=('i686' 'x86_64')
url="http://www.abisource.com/downloads/link-grammar/"
license=('BSD')
depends=('aspell')
options=('!makeflags')
source=("http://www.abisource.com/downloads/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
md5sums=('218a2ee5ffed258bc52a0718811ca66e')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install

  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/link-grammar/LICENSE"
}