Package Details: kytea 0.4.7-2

Git Clone URL: https://aur.archlinux.org/kytea.git (read-only, click to copy)
Package Base: kytea
Description: The Kyoto Text Analysis Toolkit for word segmentation and pronunciation estimation, etc.
Upstream URL: http://www.phontron.com/kytea
Licenses: Apache-2.0
Submitter: cosmo0920
Maintainer: cosmo0920
Last Packager: cosmo0920
Votes: 1
Popularity: 0.000000
First Submitted: 2020-12-28 14:50 (UTC)
Last Updated: 2021-01-01 08:26 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

archfroggood commented on 2025-06-17 00:13 (UTC)

Hello, thanks for the package. I was having trouble getting the package to install correct, because the version number of automake was not being loaded correctly. My local was messing up the grep command. I updated this query command and also added automake to the deps. The diff is attached below.

diff --git a/PKGBUILD b/PKGBUILD
index b9b1ea6..9d0683f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,16 @@
 pkgname=kytea
 pkgver=0.4.7
-pkgrel=2
+pkgrel=3
 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)
+builddepends=(gcc automake)

 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 .
+    cp /usr/share/automake-`automake --version | head -n 1 | cut -d' ' -f4`/config.guess .
 }

 build() {