summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b8d7b922330bdc1b00b2214a8294456ce135cd44 (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
# Maintainer: guoyizhang <myname at malacology dot net>
# Contributor: 0b100100 <0b100100 at protonmail dot ch>
# Contributor: Denis Kasak <dkasak|AT|termina.org.uk>

pkgname=ekho
pkgver=8.9.3
pkgrel=1
pkgdesc="Multilingual text-to-speech (TTS) software for Cantonese, Mandarin, Toisanese, Zhaoan Hakka, Tibetan, Ngangien, Korean and English"
arch=('i686' 'x86_64')
url="https://www.eguidedog.net/ekho.php"
license=('GPL')
depends=('espeak-ng' 'lame')
makedepends=('git' 'autoconf' 'make' 'utf8cpp')
source=("git+https://github.com/hgneng/ekho.git#tag=v${pkgver}")
sha512sums=('SKIP')

build() {
  cd "$pkgname"
  autoreconf --install
  CXXFLAGS="$CXXFLAGS -I/usr/include/utf8cpp/" \
  ./configure --prefix=/usr --with-mp3lame
  make
}

package() {
  cd "$pkgname"
  make DESTDIR="$pkgdir/" install
}