summaryrefslogtreecommitdiff
path: root/pcr-testing/hts_engine_api-git/PKGBUILD
blob: f8fc87a9953856cfd1c2f4ca0f07674c7e8d63a4 (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
# Maintainer bill-auger <bill-auger@programmer.net>


# rationale for VCS package:
# - the latest release source-ball (from 2015) does not compile


pkgname=hts_engine_api-git
pkgver=0.0.0.vcs
pkgrel=1
pkgdesc="Synthesize speech waveform from HTS-trained HMMs"
arch=(armv7h i686 x86_64)
license=(custom:BSD3)
url=http://hts-engine.sourceforge.net/
makedepends=(cmake git)
source=(git+https://github.com/r9y9/hts_engine_API.git)
sha256sums=('SKIP')


build()
{
  mkdir "${srcdir}"/hts_engine_API/src/build
  cd    "${srcdir}"/hts_engine_API/src/build

  cmake -DCMAKE_BUILD_TYPE=Release  \
        -DBUILD_SHARED_LIBS=ON      \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_INSTALL_LIBDIR=lib  ..
  make
}

package()
{
  cd "${srcdir}"/hts_engine_API/src/build

  make DESTDIR="${pkgdir}" install

  install -Dm644 ../COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
}