blob: 20384a1b351fc0d09ec98b64180bd65f1420236f (
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
|
# Maintainer: nosada <ngsksdt@gmail.com>
pkgname=python2-cjuman
pkgver=0.1.0
pkgrel=4
pkgdesc="A Python bindings of JUMAN, A Japanese Morphological Analyzer"
url="http://app-dist.khlog.net/software/python-cjuman/"
arch=('i686' 'x86_64')
license=('unknown')
depends=('juman' 'git' 'python2')
# this PKGBUILD uses cJuman installer (https://github.com/chezou/cJuman-installer) .
source=('git+https://github.com/chezou/cJuman-installer.git')
_pkgname="cJuman-installer"
sha1sums=('SKIP')
build() {
cd ${srcdir}/${_pkgname}
python2 setup.py build
}
package() {
cd ${srcdir}/${_pkgname}
python2 setup.py install --root=${pkgdir} --optimize=1
}
# vim:set ts=2 sw=2 et:
|