summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2020-02-06 16:36:19 +0100
committerMichel Zou2020-02-06 16:36:19 +0100
commit85e49af8a1022067606c20e34130b18bb796c70e (patch)
treeff28148154899bb961d5de49e49da3824e0b4bc8
parent6488f5f68e5daebe6189983d2f264cf0602fbe7e (diff)
downloadaur-85e49af8a1022067606c20e34130b18bb796c70e.tar.gz
pocketPath
-rw-r--r--PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c84bc279e9d..4b166b7bb92 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,11 @@ sha256sums=('eb9469db940aaa8aae9b37b81035233687499fdc2fbc5b55dfb7a37b0e9a1d60' S
prepare() {
cd ${pkgname}-${pkgver}
+ # nocomprendo builds its own copy of pocketsphinx
patch -p1 -i "${srcdir}"/unbundle_pocketsphinx.patch
+
+ # nocomprendo looks in /usr/share/pocketsphinx/en_US
+ sed -i 's|= QString("/usr/share/pocketsphinx/").append(params.lang)|= QString("/usr/share/pocketsphinx/model/en-us")|g' main.cpp
}
build() {