2 # Contributor: Simo Leone <simo@archlinux.org>
7 pkgdesc="A lighweight version of festival speech synthesis"
9 url="http://www.speech.cs.cmu.edu/flite/"
12 source=(http://www.speech.cs.cmu.edu/flite/packed/${pkgname}-${pkgver}/${pkgname}-${pkgver}-release.tar.bz2)
13 md5sums=('b7c3523b3bbc6f29ce61e6650cd9a428')
16 cd "${srcdir}/${pkgname}-${pkgver}-release"
17 ./configure --prefix=/usr || return 1
19 #we want the 16k, not 8k voice
20 sed -i 's/cmu_us_kal/cmu_us_kal16/' config/config || return 1
26 cd "${srcdir}/${pkgname}-${pkgver}-release"
27 make prefix="${pkgdir}/usr" install || return 1
28 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1