altos: Initialize pyro code for easytimer-v1
[fw/altos] / contrib / arch-linux / PKGBUILD-git.freetts
1 # Original contributor: Bob Finch <w9ya@qrpqrci.net> 
2
3 pkgname=freetts
4 _pkgname=FreeTTS
5 pkgver=1.2.2
6 _pkgver=1.2
7 pkgrel=1
8 pkgdesc="Sun's rewrite of flite for java"
9 arch=('any')
10 license=('custom')
11 depends=('java-environment')
12 makedepends=('junit' 'apache-ant')
13 #source=(http://downloads.sourceforge.net/project/\
14 #$pkgname/$_pkgname/$_pkgname%20$pkgver/$pkgname-$pkgver-src.zip)
15 source=(http://downloads.sourceforge.net/project/\
16 $pkgname/$_pkgname/$_pkgname%20$pkgver/$pkgname-$pkgver-bin.zip)
17 url="http://freetts.sourceforge.net/"
18 #md5sums=('692b5ece251fed88539736e55af5f391')
19 md5sums=('cd751e5fd5c7ed29cf6879fc5200605d')
20
21 build() {
22 #  [ -z "${JAVA_HOME}" ] && . /etc/profile.d/jdk.sh
23 #  [ -z "${ANT_HOME}" ] && . /etc/profile.d/apache-ant.sh
24
25 #  cd ${startdir}/src/$pkgname-$pkgver/lib
26   cd ${startdir}/src/$pkgname-$_pkgver/lib
27   rm README.txt jsapi.sh jsapi.exe
28
29 #  cd ${startdir}/src/$pkgname-$pkgver
30 #  ln -s . src
31 #  /usr/share/java/apache-ant/bin/ant
32   
33   cd $srcdir/$pkgname-$_pkgver
34   install -d $pkgdir/usr/share/java/$pkgname/lib
35   install -m644 lib/* $pkgdir/usr/share/java/$pkgname/lib/
36   
37 #  cp -a bld $pkgdir/usr/share/java/$pkgname/
38 }