1 # Contributor: Christoph Drexler <chrdr(at)gmx(dot)at>
5 pkgdesc="A TTS front end for the German inventories of the MBROLA phoneme-to-audio converter."
7 url="http://www.ikp.uni-bonn.de/forschung/phonetik/sprachsynthese/txt2pho"
10 source=(http://storage.sk.uni-bonn.de/${pkgname}/${pkgname}.zip)
11 md5sums=('37fc21f71865525105f864967b64f007')
16 mkdir -p usr/share/${pkgname} usr/share/preproc
17 mkdir -p usr/share/doc/${pkgname} usr/share/doc/preproc
18 mkdir -p usr/share/licenses/${pkgname}
19 cd ${srcdir}/${pkgname}
20 install ${pkgname} pipefilt/pipefilt preproc/preproc ${pkgdir}/usr/bin/
21 install README ${pkgdir}/usr/share/doc/${pkgname}/
22 install txt2phorc ${pkgdir}/etc/txt2pho
23 sed -i 's|/home/tpo/txt2pho/data/|/usr/share/txt2pho/data/|' ${pkgdir}/etc/txt2pho
24 mkdir -p ${pkgdir}/usr/share/${pkgname}/
25 cp -r data ${pkgdir}/usr/share/${pkgname}/
26 cp -r demo ${pkgdir}/usr/share/${pkgname}/
27 mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}/
28 sed -n -e '/^LICENSE/,/========.*/p' README > ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
29 chmod 0644 ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
31 install Rules.lst Hadifix.abk ${pkgdir}/usr/share/preproc/
32 install MANUAL ${pkgdir}/usr/share/doc/preproc/MANUAL