# $Id: PKGBUILD 47972 2009-07-30 01:44:07Z eric $ # Maintainer: Simo Leone # Contributor: Simo Leone pkgname=festival-awb-arctic pkgver=1.0 pkgrel=3 pkgdesc="Scottish English male speaker (AWB), using excited residual LPC multisyn database." arch=('any') url="http://www.cstr.ed.ac.uk/projects/festival/" license=('custom') depends=('festival') source=(http://www.cstr.ed.ac.uk/downloads/festival/1.95/festvox_cstr_us_awb_arctic_multisyn-$pkgver.tar.gz LICENSE) md5sums=('880c20efb5baf0532671b46ac28545d0' 'eb7167e849fbd166699eef79e87a7e36') sha1sums=('d5e526f6f160fbdc3cb9eb0a3470b57f5045268b' 'e2f8a1cdd444925824475a9a537c18073aa07b9b') build() { cd "$srcdir" sed -ie '2i(defvar voice_us_awb_multisyn_configure_pre nil)' \ festival/lib/voices-multisyn/english/cstr_us_awb_arctic_multisyn/festvox/cstr_us_awb_arctic_multisyn.scm || return 1 mkdir -p "$pkgdir/usr/share/festival" cp -a festival/lib/voices-multisyn "$pkgdir/usr/share/festival" || return 1 install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1 }