summaryrefslogtreecommitdiff
path: root/community-testing/espeakup/PKGBUILD
blob: 9ee2d9962c765f7258bfd89ab5e4912d95f3db1a (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
# $Id: PKGBUILD 78549 2012-10-20 19:23:23Z tomegun $
# Contributor: Chris Brannon <chris@the-brannons.com>
# Contributor: Kyle <kyle@gmx.ca>
pkgname=espeakup
pkgver=0.71
pkgrel=5
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 espeakup.service)
depends=(speakup-utils espeak)
backup=(etc/conf.d/espeakup)

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="${pkgdir}" install 
  install -m755 -D "${srcdir}/espeakup" "${pkgdir}/etc/rc.d/espeakup"
  install -m644 -D "${srcdir}/espeakup.conf.d" "${pkgdir}/etc/conf.d/espeakup"
  install -m644 -D "${srcdir}/espeakup.service" "${pkgdir}/usr/lib/systemd/system/espeakup.service"
}
md5sums=('03daa70b3db3f4f6fbb42c2ee428eda7'
         '7cf0abd493710ed924b7bb7c8d279fb3'
         '0f93974845b15efa12f5e7a74cc0eecd'
         '0c11c50b128234cda8e1357e88cf7c43')