summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7deb8fcf4175e8ce6a1b5b1df2dd8b71fe0a201b (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
33
34
35
36
37
38
# Maintainer:  Andrew O'Neill <andrew at haunted dot sh>
# Contributor: Evgeniy Alekseev <arcanis.arch at gmail dot com>
# Contributor: Matt Harrison <matt at mistbyte dot com>
# Contributor: Muhammad Qadri <Muhammad dot A dot Qadri at gmail dot com>

pkgname=julius-speech
pkgver=4.6
pkgrel=1
pkgdesc='A high-performance, two-pass large vocabulary continuous speech recognition decoder software'
arch=('x86_64')
url='https://github.com/julius-speech/julius'
license=('BSD-3-Clause')
depends=('libpulse' 'sdl2' 'perl')
optdepends=('voxforge-am-julius: Acoustic models')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/julius-speech/julius/archive/v${pkgver}.tar.gz")
sha256sums=('74447d7adb3bd119adae7915ba9422b7da553556f979ac4ee53a262d94d47b47')

build() {
  cd "${srcdir}/julius-${pkgver}"

  ./configure \
    --prefix=/usr \
    --enable-words-int \
    --enable-msd \
    --enable-gmm-vad \
    --enable-decoder-vad \
    --enable-power-reject \
    --enable-wpair

  make
}

package() {
  cd "${srcdir}/julius-${pkgver}"

  make prefix="${pkgdir}/usr" install
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}