blob: 0e7b83657602d1a4613cdb291459f6676f6a6bd9 (
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
29
30
31
|
# Maintainer: AlphaJack <alphajack at tuta dot io>
_pkgbase="piper-voices"
pkgname="$_pkgbase-common"
pkgver=1.0.0
pkgrel=5
pkgdesc="Voices for Piper text to speech system (common files)"
url="https://huggingface.co/rhasspy/$_pkgbase"
license=("MIT")
arch=("any")
depends=("piper-tts" "alsa-utils")
optdepends=(
"speech-dispatcher: tts support for third party apps"
"$_pkgbase-minimal: single voice for en-us"
"$_pkgbase: voices for all languages")
source=(
"https://huggingface.co/rhasspy/$_pkgbase/resolve/main/voices.json"
"piper-generic.conf"
"piper-dispatcher"
)
b2sums=('SKIP'
'96c0975b956a4c878fcfa5a933fe6e157b0bc40e1973e47b68fd63032bd2112c2c9f712277aac8d1cf9dea833d092c38d3dbb446676e4328855134854219d0b5'
'2b5129e2e2fd4cb48602bf5d18052b124b31886cf02268de83d7b687f7e681ab83dc8baeb683c905664d26f4ddab6f86d95fbe3849113c26e5be5c557642810f')
options=("!strip")
install="$pkgname.install"
package(){
install -D -m 664 "$srcdir/voices.json" -t "$pkgdir/usr/share/$_pkgbase"
install -D -m 664 "$srcdir/piper-generic.conf" -t "$pkgdir/etc/speech-dispatcher/modules"
install -D -m 775 "$srcdir/piper-dispatcher" -t "$pkgdir/usr/bin"
}
|