summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8d593371fb8a90648abd7b8bc333f63c9e109efc (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
# Maintainer: robertfoster
pkgname=marytts
pkgver=5.2
pkgrel=1
pkgdesc="An open-source, multilingual Text-to-Speech Synthesis platform written in Java"
arch=('i686' 'x86_64')
url="http://mary.dfki.de/"
license=('LGPL')
depends=('java-runtime' 'log4j')
source=("https://github.com/marytts/marytts/releases/download/v$pkgver/$pkgname-$pkgver.zip"
	marytts.sh)

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -dm755 ${pkgdir}/opt/${pkgname}/log
  touch ${pkgdir}/opt/${pkgname}/log/server.log
  chmod 777 ${pkgdir}/opt/${pkgname}/log/server.log
  cp -r * ${pkgdir}/opt/${pkgname}
  rm ${pkgdir}/opt/${pkgname}/bin/*.bat
  install -dm755 ${pkgdir}/etc/profile.d
  install -m755 "${srcdir}"/${pkgname}.sh ${pkgdir}/etc/profile.d/
  
}

md5sums=('60258d629ef0cc4803a88859ef2312ae'
         '78f9ee795d5a14d27ae6d5a6b2b507c3')