summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: da98ceb8b6684710c867913b5adba96797d0533e (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
# Maintainer: Jingbei Li <i@jingbei.lli>
pkgname='kaldi-openfst'
_pkgname='kaldi'
pkgdesc='Speech recognition research toolkit'
pkgver=1.6.7
pkgrel=1
depends=('gcc-libs')
makedepends=('git' 'wget' 'python' 'python2' 'subversion')
arch=('x86_64' 'i686')
url='https://github.com/kaldi-asr/kaldi'
license=('APACHE')
source=("https://github.com/kaldi-asr/kaldi/archive/master.zip")
sha256sums=('SKIP')

build () {
	cd $srcdir/$_pkgname-master/tools
	make openfst
}

package () {
	mkdir -p $pkgdir/opt/$_pkgname/tools/openfst-$pkgver
	cd $pkgdir/opt/$_pkgname/tools
	ln -s openfst-$pkgver openfst
	cp -r $srcdir/$_pkgname-master/tools/openfst-$pkgver/{bin,include,lib,Makefile} openfst-$pkgver
}