blob: 447b1e1c4cbb1030286899a622e9dab800eb97e9 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Campbell Barton <ideasman42@gmail.com>
_pkgname=maryspeak
_version=git
pkgver=1.0
pkgname=${_pkgname}-${_version}
pkgrel=1
pkgdesc="Command line access to MaryTTS (text to speech) software."
arch=('i686' 'x86_64')
url="https://github.com/ideasman42/${_pkgname}"
license=('GPL')
groups=()
depends=('marytts')
makedepends=('apache-ant')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+${url}.git"
)
noextract=()
md5sums=(
'SKIP'
) #autofill using updpkgsums
build() {
cd $_pkgname
cat << EOF > maryspeak
#!/bin/sh
exec java -cp "/opt/marytts/lib/*" -Dmary.base=/opt/marytts maryspeak.Maryspeak "\$@"
EOF
chmod +x maryspeak
ant
}
package() {
mkdir $pkgdir/opt/marytts/lib -p
mkdir $pkgdir/usr/bin -p
cp $_pkgname/maryspeak.jar $pkgdir/opt/marytts/lib/
cp $_pkgname/maryspeak $pkgdir/usr/bin/
}
|