blob: e55faeaf7b72d27d96c2ac4f8aba0b24609d6eef (
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
31
32
33
34
35
36
|
# Maintainer: nosada <ngsksdt@gmail.com>
pkgname=cabocha
pkgver=0.69
pkgrel=2
pkgdesc="Yet Another Japanese Dependency Structure Analyzer"
url="https://taku910.github.io/cabocha/"
arch=('x86_64' 'i686')
license=('LGPL2.1' 'BSD')
depends=('crfpp' 'mecab' 'mecab-ipadic')
source=("${pkgname}-${pkgver}.tar.bz2::https://googledrive.com/host/0B4y35FiV1wh7cGRCUUJHVTNJRnM/cabocha-0.69.tar.bz2")
sha1sums=("9196098628c5d1f0b83b371a03352b6652c04001")
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# '--with-charset=UTF8' and '--enable-utf8-only' is optional.
# you can remove it (see INSTALL in source directory)
./configure --prefix=/usr --with-charset=UTF8 --enable-utf8-only
make ${MAKEFLAGS}
}
check() {
cd ${srcdir}/${pkgname}-${pkgver}
make check
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -Dm644 COPYING \
${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}
# vim:set ts=2 sw=2 et:
|