summaryrefslogtreecommitdiff
path: root/community/espeakup/PKGBUILD
blob: 89061f262f6334b1e0d8f1f4fc197ae1bdc68b8e (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
# $Id: PKGBUILD 13306 2010-03-20 23:49:14Z cbrannon $
# Contributor: Chris Brannon <cmbrannon@cox.net>
pkgname=espeakup
pkgver=0.71
pkgrel=3
pkgdesc='Allows the Speakup screen review system to use the ESpeak synthesizer.'
arch=('i686' 'x86_64')
url="http://github.com/williamh/espeakup"
license=('GPL3')
source=("ftp://linux-speakup.org/pub/linux/goodies/${pkgname}-${pkgver}.tar.bz2"
        espeakup espeakup.conf.d)
md5sums=('03daa70b3db3f4f6fbb42c2ee428eda7'
         '7cf0abd493710ed924b7bb7c8d279fb3'
         '0f93974845b15efa12f5e7a74cc0eecd')
depends=(speakup-utils espeak)
backup=(etc/conf.d/espeakup)

build() {
  cd "$srcdir"
  install -m755 -D espeakup "${pkgdir}/etc/rc.d/espeakup" || return 1
  install -m644 -D espeakup.conf.d "${pkgdir}/etc/conf.d/espeakup" || return 1
  cd "$srcdir/$pkgname-$pkgver"

  make || return 1
  make DESTDIR="${pkgdir}" install  || return 1
}