# $Id: PKGBUILD 45579 2011-04-24 17:47:21Z mherych $ # Maintainer: Mateusz Herych # Contributor: niQo # Contributor: Christoph Siegenthaler pkgname=espeak pkgver=1.45.03 pkgrel=1 pkgdesc="Text to Speech engine for good quality English, with support for other languages" arch=('i686' 'x86_64') url="http://espeak.sourceforge.net/" license=('GPL') depends=('gcc-libs' 'portaudio') source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}-source.zip) md5sums=('68fbabb4e2021b83f606ad6a019e98df') build() { cd $srcdir/$pkgname-$pkgver-source/src cp portaudio19.h portaudio.h make } package() { cd $srcdir/$pkgname-$pkgver-source/src make DESTDIR=$pkgdir install find "$pkgdir/usr/share/espeak-data" -type f -print0 |xargs -0 chmod 644 }