summaryrefslogtreecommitdiff
path: root/community/espeak/PKGBUILD
blob: a5517d62dc2a110abd98292426564191478c0738 (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
27
28
29
# $Id: PKGBUILD 67106 2012-03-04 10:23:58Z andrea $
# Maintainer:
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Christoph Siegenthaler <csi@gmx.ch>

pkgname=espeak
pkgver=1.46.02
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/${pkgname}/${pkgname}-${pkgver}-source.zip")
md5sums=('84e8e44562f05a3afc5427218afc8af1')

build() {
	cd $srcdir/$pkgname-$pkgver-source/src
	cp portaudio19.h portaudio.h
	make
}

package() {
	cd $srcdir/$pkgname-$pkgver-source/src
	make DESTDIR=$pkgdir install

    # Fix permissions
    chmod 644 ${pkgdir}/usr/lib/libespeak.a
}