# $Id: PKGBUILD 137673 2011-09-10 11:43:42Z pierre $ # Maintainer: Jan de Groot pkgname=gnome-speech pkgver=0.4.25 pkgrel=2 pkgdesc="Gnome Text-to-Speech" arch=('i686' 'x86_64' 'mips64el') license=('LGPL') url="http://www.gnome.org" depends=('libbonobo') makedepends=('intltool' 'pkgconfig' 'espeak') [ "$CARCH" != "mips64el" ] && makedepends+=('java-access-bridge' 'openjdk6') optdepends=('espeak: Text to speech engine' 'festival: Text to speech engine') [ "$CARCH" != "mips64el" ] && optdepends+=('java-access-bridge: Speech support for java') options=('!libtool') 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 make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }