summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d2ce82e83243b92303b3039790a9fb8f53e2ac32 (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
# Maintainer: robertfoster
pkgname=marytts
pkgver=5.2
pkgrel=2
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"
	mkdir -p "${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')