summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJingbei Li2017-11-01 00:27:54 +0800
committerJingbei Li2017-11-01 00:27:54 +0800
commitb39c9a639fda4f9e3bd5d50c91f19f1e6eb834cd (patch)
treeab4c151e654674c5f0d4b2ca197300f7fb20e8ad /PKGBUILD
parent5e9d916ca1acf1c3318bddc4cea989d04eef619a (diff)
downloadaur-b39c9a639fda4f9e3bd5d50c91f19f1e6eb834cd.tar.gz
fix kaldi prefix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0ffa4849fb1..fe1497ced2a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Jingbei Li <i@jingbei.lli>
pkgname='kaldi-sctk'
-_pkgname='kaldi-master'
+_pkgname='kaldi'
pkgdesc='Speech recognition research toolkit'
pkgver=2.4.10
pkgrel=1
@@ -13,7 +13,7 @@ source=("https://github.com/kaldi-asr/kaldi/archive/master.zip")
sha256sums=('SKIP')
build () {
- cd $srcdir/$_pkgname/tools
+ cd $srcdir/$_pkgname-master/tools
sed \
-e '/^sclite_compiled/s/ sctk_configured//' \
-i Makefile
@@ -24,8 +24,8 @@ build () {
}
package () {
- mkdir -p $pkgdir/opt/$pkgname/tools/sctk-$pkgver
- cd $pkgdir/opt/$pkgname/tools
+ mkdir -p $pkgdir/opt/$_pkgname/tools/sctk-$pkgver
+ cd $pkgdir/opt/$_pkgname/tools
ln -s sctk-$pkgver sctk
- cp -r $srcdir/$_pkgname/tools/sctk-$pkgver/bin sctk-$pkgver
+ cp -r $srcdir/$_pkgname-master/tools/sctk-$pkgver/bin sctk-$pkgver
}