aboutsummaryrefslogtreecommitdiffstats
path: root/main/espeak/APKBUILD
blob: 4929ad128a1d4d6d2bb3c55d51de557b711d074a (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=espeak
pkgver=1.48.04
pkgrel=1
pkgdesc="Speech synthesizer for English and other languages"
url="http://espeak.sourceforge.net/"
arch="all"
license="GPL-3.0"
subpackages="$pkgname-dev"
depends=
makedepends=
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
	make AUDIO=none || return 1
}

package() {
	cd "$builddir"/src
	make AUDIO=none DESTDIR="$pkgdir" install || return 1
}

sha512sums="f0759e6ace2604c8cbb19e8c3fd4b106edf4dcece247a6677f6b734af7746c35a367126edfbe585396c98f6c54f07e25d64bfab35e258e64f09bd2c0833247fa  espeak-1.48.04-source.zip
e22808285b40a3cb65343e3c1bc10971cf00200e68358628813c71ee427d368e068baaf253b9b7b4a70fbec116f9914439fa499d162b132e259e712abaf8399d  fix-narrowing.patch"