summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f7e2c6403540144e26dbd0167ab8f74a157e3931 (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
# Maintainer: NOGISAKA Sadata <ngsksdt@gmail.com>
# vim:set ts=2 sw=2 et:

pkgname=python-cabocha
_pkgname=cabocha
pkgver=0.69
pkgrel=3
pkgdesc="Yet Another Japanese Dependency Structure Analyzer (Python interface)"
url="https://taku910.github.io/cabocha/"
arch=('any')
license=('LGPL2.1' 'BSD')
depends=('crfpp' 'mecab' 'cabocha' 'python')
makedepends=('python-setuptools' 'git')
source=('git+https://github.com/taku910/cabocha.git')

build() {
  cd ${srcdir}/${_pkgname}/python
  python setup.py build_ext
}

package() {
  cd ${srcdir}/${_pkgname}/python
  python setup.py install --root=${pkgdir}
  install -Dm644 ../COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}

sha256sums=('SKIP')