summaryrefslogtreecommitdiff
path: root/community/espeak/PKGBUILD
blob: 5611a89e13736a2ecc57744cb3f0076d6a7bd070 (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
# $Id: PKGBUILD 61395 2011-12-30 08:21:47Z bpiotrowski $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: niQo
# Contributor: Christoph Siegenthaler <csi@gmx.ch>

pkgname=espeak
pkgver=1.46.01
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=('a3e9de4b2a56ec19c059115dca587494')

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
}