summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 75d46870b106bf8839072b0be35e4c7e1360a25d (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
32
33
34
# Maintainer: Muflone http://www.muflone.com/contacts/english/

pkgname=gespeaker-git
pkgver=0.8.6.153.g4f68ada
pkgrel=1
pkgdesc="A GTK+ frontend for espeak and mbrola to speech the read text."
url="http://www.muflone.com/gespeaker/"
arch=('any')
license=('GPL')
depends=('espeak' 'python-gobject' 'gtk3' 'python-xdg' 'python-psutil'
         'python-gtts' 'libpulse')
makedepends=('git')
optdepends=('mbrola: for enhanced mbrola voices support'
            'mbrola-voices: at least one mbrola voice')
provides=('gespeaker')
conflicts=('gespeaker')
source=('git+https://github.com/muflone/gespeaker.git')
md5sums=('SKIP')

pkgver() {
  cd "${pkgname%-*}"
  git describe --always | sed 's|-|.|g'
}

build() {
  cd "${pkgname%-*}"
  python setup.py build
}

package() {
  cd "${pkgname%-*}"
  python setup.py install --optimize=1 --root "${pkgdir}"
}