# Maintainer: Natanael Copa pkgname=espeak pkgver=1.48.04 pkgrel=5 pkgdesc="Speech synthesizer for English and other languages" url="https://espeak.sourceforge.net/" arch="all" license="GPL-3.0-or-later" subpackages="$pkgname-dev" makedepends="portaudio-dev" source="https://downloads.sourceforge.net/project/espeak/espeak/espeak-${pkgver%.*}/espeak-$pkgver-source.zip fix-narrowing.patch " builddir="$srcdir"/$pkgname-$pkgver-source build() { cd "$builddir"/src cp portaudio19.h portaudio.h make } package() { cd "$builddir"/src make DESTDIR="$pkgdir" install } sha512sums="f0759e6ace2604c8cbb19e8c3fd4b106edf4dcece247a6677f6b734af7746c35a367126edfbe585396c98f6c54f07e25d64bfab35e258e64f09bd2c0833247fa espeak-1.48.04-source.zip e22808285b40a3cb65343e3c1bc10971cf00200e68358628813c71ee427d368e068baaf253b9b7b4a70fbec116f9914439fa499d162b132e259e712abaf8399d fix-narrowing.patch"