PKGBUILD 885 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Maintainer bill-auger <bill-auger@programmer.net>
  2. # rationale for VCS package:
  3. # - the latest release source-ball (from 2015) does not compile
  4. pkgname=hts_engine_api-git
  5. pkgver=0.0.0.vcs
  6. pkgrel=1
  7. pkgdesc="Synthesize speech waveform from HTS-trained HMMs"
  8. arch=(armv7h i686 x86_64)
  9. license=(custom:BSD3)
  10. url=http://hts-engine.sourceforge.net/
  11. makedepends=(cmake git)
  12. source=(git+https://github.com/r9y9/hts_engine_API.git)
  13. sha256sums=('SKIP')
  14. build()
  15. {
  16. mkdir "${srcdir}"/hts_engine_API/src/build
  17. cd "${srcdir}"/hts_engine_API/src/build
  18. cmake -DCMAKE_BUILD_TYPE=Release \
  19. -DBUILD_SHARED_LIBS=ON \
  20. -DCMAKE_INSTALL_PREFIX=/usr \
  21. -DCMAKE_INSTALL_LIBDIR=lib ..
  22. make
  23. }
  24. package()
  25. {
  26. cd "${srcdir}"/hts_engine_API/src/build
  27. make DESTDIR="${pkgdir}" install
  28. install -Dm644 ../COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
  29. }