updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / flite / PKGBUILD
blob306fe6ca0acd7725bc09247c356c8a7b13a998de
1 # Contributor:
2 # Contributor: Simo Leone <simo@archlinux.org>
4 pkgname=flite
5 pkgver=1.4
6 pkgrel=1
7 pkgdesc="A lighweight version of festival speech synthesis"
8 arch=('i686' 'x86_64')
9 url="http://www.speech.cs.cmu.edu/flite/"
10 license=('custom')
11 depends=('glibc')
12 source=(http://www.speech.cs.cmu.edu/flite/packed/${pkgname}-${pkgver}/${pkgname}-${pkgver}-release.tar.bz2)
13 md5sums=('b7c3523b3bbc6f29ce61e6650cd9a428')
15 build() {
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
21   
22   make || return 1
25 package() {
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