summaryrefslogtreecommitdiff
path: root/community/espeak/PKGBUILD
blob: e1a8efcb946094d19cdd3928742617b0bb335077 (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 46811 2011-05-12 17:39:15Z mherych $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: niQo
# Contributor: Christoph Siegenthaler <csi@gmx.ch>

pkgname=espeak
pkgver=1.45.04
pkgrel=1
pkgdesc="Text to Speech engine for good quality English, with support for other languages"
arch=('i686' 'x86_64' 'mips64el')
url="http://espeak.sourceforge.net/"
license=('GPL')
depends=('gcc-libs' 'portaudio')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}-source.zip)
md5sums=('6e810d2786b55cddb34f31b3eb813507')

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
}