summaryrefslogtreecommitdiff
path: root/extra/gnome-speech/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gnome-speech/PKGBUILD')
-rw-r--r--extra/gnome-speech/PKGBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/extra/gnome-speech/PKGBUILD b/extra/gnome-speech/PKGBUILD
index f92d8ff2d..ce1124fef 100644
--- a/extra/gnome-speech/PKGBUILD
+++ b/extra/gnome-speech/PKGBUILD
@@ -1,26 +1,30 @@
-# $Id: PKGBUILD 30819 2009-03-22 00:34:44Z jgc $
+# $Id: PKGBUILD 137673 2011-09-10 11:43:42Z pierre $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gnome-speech
pkgver=0.4.25
-pkgrel=1
+pkgrel=2
pkgdesc="Gnome Text-to-Speech"
-arch=(i686 x86_64 'mips64el')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://www.gnome.org"
-depends=('libbonobo>=2.24.1')
+depends=('libbonobo')
makedepends=('intltool' 'pkgconfig' 'espeak' 'java-access-bridge' 'openjdk6')
optdepends=('espeak: Text to speech engine'
- 'festival: Text to speech engine'
- 'java-access-bridge: Speech support for java')
+ 'festival: Text to speech engine'
+ 'java-access-bridge: Speech support for java')
options=('!libtool')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.4/${pkgname}-${pkgver}.tar.bz2)
+source=("http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.4/${pkgname}-${pkgver}.tar.bz2")
md5sums=('89cbc23fc131c33396c0346085759f63')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ --localstatedir=/var --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}