summaryrefslogtreecommitdiff
path: root/community/espeak/PKGBUILD
blob: 8e7512ecfc89c469cfc908a5a34a4f1f88ff11f6 (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')
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
}