summaryrefslogtreecommitdiff
path: root/manualPorts/espeak-ng/Pkgfile
blob: 92b9d58ed88dfeffc6cfc436ffb4955c40a466e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Multi-lingual software speech synthesizer
# URL: https://github.com/espeak-ng/espeak-ng
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: pcaudiolib libsonic

name=espeak-ng
version=1.51.1
release=1
source=("https://github.com/espeak-ng/espeak-ng/archive/$version/espeak-ng-$version.tar.gz")

build() {

    cd ${name}-${version}
    ./autogen.sh
    ./configure --prefix=/usr
    make src/espeak-ng src/speak-ng
    make
    make DESTDIR=$PKG install
    mv "$PKG"/usr/share/vim/{addons,vimfiles}
    rm -r "$PKG"/usr/{include/espeak,share/vim/registry}
}