# Maintainer: Didier Spaier <didier~at~slint~dot~fr>
# VOICE is the voice name 

pkgname=mbrola-voice-$VOICE
pkgver=3.02b
pkgrel=1slint
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname ($DESC voice for MBROLA)"
"This voice is provided by $AUTHOR."
"Please read the requirements to use it in the license and/or the"
"README in: /usr/doc/${pkgname}-$pkgver/"
"and only use it if you comply with them."
)
# source archive: https://github.com/valdisvi/MBROLA-voices

options=("nosrcpack")

build() {
	mkdir -p $startdir/pkg/usr/share/mbrola/$VOICE
	mkdir -p $startdir/pkg/usr/doc/${pkgname}-$pkgver
	cp -r $startdir/voices/data/$VOICE/* $startdir/pkg/usr/doc/${pkgname}-$pkgver/
	mv $startdir/pkg/usr/doc/${pkgname}-$pkgver/$VOICE $startdir/pkg/usr/share/mbrola/$VOICE/
}
