blob: b9b1ea650d6a392ee7afaefd2b5e9d50d4478bb0 (
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
|
pkgname=kytea
pkgver=0.4.7
pkgrel=2
pkgdesc="The Kyoto Text Analysis Toolkit for word segmentation and pronunciation estimation, etc."
arch=('i686' 'x86_64' 'aarch64')
url="http://www.phontron.com/kytea"
license=('Apache-2.0')
source=("http://www.phontron.com/kytea/download/kytea-${pkgver}.tar.gz")
builddepends=(gcc)
prepare() {
cd $srcdir/$pkgname-$pkgver
cp /usr/share/automake-`pacman -Q --info automake|grep -i version| awk -F ":" '{print $2}'| awk '{$1=$1};1'| awk -F "." '{print $1"."$2}'`/config.guess .
}
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
--sbindir=/usr/bin
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
sha1sums=('684f6b90bd4ae048ea3a6fc9762b1baecb006eb3')
sha256sums=('534a33d40c4dc5421f053c71a75695c377df737169f965573175df5d2cff9f46')
|