summaryrefslogtreecommitdiff
path: root/community/espeak/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-29 00:04:41 +0000
committerroot <root@rshg054.dnsready.net>2012-08-29 00:04:41 +0000
commit498a4346616c33beac56d48a246cf27fe3812341 (patch)
tree333cfc0154a280d9dcf65c08900913200c33d988 /community/espeak/PKGBUILD
parent559da5e6e5aff9ccc57e29b6a91c35a528424b6c (diff)
Wed Aug 29 00:04:40 UTC 2012
Diffstat (limited to 'community/espeak/PKGBUILD')
-rw-r--r--community/espeak/PKGBUILD31
1 files changed, 17 insertions, 14 deletions
diff --git a/community/espeak/PKGBUILD b/community/espeak/PKGBUILD
index a5517d62d..c322cfaee 100644
--- a/community/espeak/PKGBUILD
+++ b/community/espeak/PKGBUILD
@@ -1,29 +1,32 @@
-# $Id: PKGBUILD 67106 2012-03-04 10:23:58Z andrea $
-# Maintainer:
+# $Id: PKGBUILD 75640 2012-08-27 22:14:26Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Christoph Siegenthaler <csi@gmx.ch>
pkgname=espeak
pkgver=1.46.02
-pkgrel=1
+pkgrel=2
pkgdesc="Text to Speech engine for good quality English, with support for other languages"
-arch=('i686' 'x86_64')
+arch=('x86_64' 'i686')
url='http://espeak.sourceforge.net/'
license=('GPL')
-depends=('gcc-libs' 'portaudio')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-source.zip")
-md5sums=('84e8e44562f05a3afc5427218afc8af1')
+depends=('portaudio' 'libpulse')
+options=('!emptydirs')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-source.zip")
+sha256sums=('ef8beba25bd261718582d5cbb1f10293007eb525b705ff79c9fb3f505dd954ba')
build() {
- cd $srcdir/$pkgname-$pkgver-source/src
- cp portaudio19.h portaudio.h
- make
+ cd "$srcdir/$pkgname-$pkgver-source/src"
+
+ cp portaudio19.h portaudio.h
+ make CXXFLAGS="$CXXFLAGS" AUDIO=runtime
}
package() {
- cd $srcdir/$pkgname-$pkgver-source/src
- make DESTDIR=$pkgdir install
+ cd "$srcdir/$pkgname-$pkgver-source/src"
- # Fix permissions
- chmod 644 ${pkgdir}/usr/lib/libespeak.a
+ make DESTDIR=$pkgdir install
+ chmod 644 "$pkgdir/usr/lib/libespeak.a"
}
+
+# vim:set ts=2 sw=2 et: