summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 03ec1d5283c67e0e2aae13b7430d8aaf5d1c2c28 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Your Name <youremail@domain.com>
pkgname=cainteoir-engine
pkgver=0.12.2
pkgrel=1
epoch=
pkgdesc="The Cainteoir Text-To-Speach Engine"
arch=(x86_64)
url="https://github.com/rhdunn/cainteoir-engine"
license=('GPL')
groups=()
depends=()
makedepends=(python2-yaml)
checkdepends=()
optdepends=(pulseaudio alsa-lib libvorbis espeak svox-pico-bin poppler ffmpeg libavutil libavcodec libavformat libavresample)
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(
"https://github.com/rhdunn/cainteoir-engine/archive/$pkgname-$pkgver.tar.gz"
"https://github.com/rhdunn/ucd-tools/archive/8.0.0.tar.gz"
)
noextract=()
md5sums=(
063666a9f045d4b48572d887ed9f1264
f137401908b77c3175696feef2608abb
)
validpgpkeys=()

prepare() {
  cp -R ucd-tools-8.0.0/* "$pkgname-$pkgname-$pkgver/ucd-tools"
  sed -i 's/python/python2/g' "$pkgname-$pkgname-$pkgver/tools/fsm" 
}

build() {
	cd "$pkgname-$pkgname-$pkgver"
	./autogen.sh
  ./configure --prefix=/usr
	make
}

check() {
	cd "$pkgname-$pkgname-$pkgver"
	#make -k check
}

package() {
	cd "$pkgname-$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
  cd $pkgdir/usr/share
  rm -rf mime vim
}