summaryrefslogtreecommitdiff
path: root/community/espeak/PKGBUILD
blob: 23df11aafa830566758ac0fa96714bb2c9e16c70 (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
30
31
32
# $Id: PKGBUILD 96764 2013-09-04 12:01:02Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Christoph Siegenthaler <csi@gmx.ch>

pkgname=espeak
pkgver=1.47.11
pkgrel=1
pkgdesc='Text to Speech engine for English, with support for other languages'
arch=('x86_64' 'i686')
url='http://espeak.sourceforge.net/'
license=('GPL')
depends=('portaudio' 'libpulse')
options=('!emptydirs')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-source.zip")
sha256sums=('9bd4d0569af48a2cb13fa76704dec3124d27025a3f21c87598457976472b360c')

build() {
  cd "$pkgname-$pkgver-source/src"

  cp portaudio19.h portaudio.h
  make CXXFLAGS="$CXXFLAGS" AUDIO=runtime
}

package() {
  cd "$pkgname-$pkgver-source/src"

  make DESTDIR="$pkgdir" install
  chmod 644 "$pkgdir/usr/lib/libespeak.a"
}

# vim:set ts=2 sw=2 et: