diff options
Diffstat (limited to 'pcr-testing/hts_engine_api-git/PKGBUILD')
-rw-r--r-- | pcr-testing/hts_engine_api-git/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pcr-testing/hts_engine_api-git/PKGBUILD b/pcr-testing/hts_engine_api-git/PKGBUILD new file mode 100644 index 000000000..6b0f1d440 --- /dev/null +++ b/pcr-testing/hts_engine_api-git/PKGBUILD @@ -0,0 +1,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/licences/${pkgname}/COPYING +} |