PKGBUILD 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # Maintainer bill-auger <bill-auger@programmer.net>
  2. # NOTE: this code-base was forked from a BSD3 project,
  3. # then re-licensed AGPL; but the original license
  4. # was apparently deleted from the code-base.
  5. # the original license still applies however;
  6. # so we fetch it from the original upstream
  7. pkgname=sekai
  8. pkgver=0.6rc0
  9. pkgrel=1
  10. pkgdesc="High-quality speech analysis, manipulation, and synthesis system"
  11. arch=(armv7h i686 x86_64)
  12. license=(AGPL3 custom:BSD3)
  13. url=https://www.qtau.de/
  14. depends=(fftw gsl jack2 libsndfile)
  15. makedepends=(boost cmake)
  16. source=(${pkgname}-${pkgver}.tar.gz::https://notabug.org/isengaara/${pkgname}/archive/${pkgver}.tar.gz
  17. https://raw.githubusercontent.com/mmorise/World/master/LICENSE.txt)
  18. sha256sums=('5ee1a1879f5cb4471315f35aba24cb097752399ea711d9d774cab9f916d5e4aa'
  19. '6921ef0a65a931509b4055075fd847d7257c4094609075dd0615e8e997215f7e')
  20. prepare()
  21. {
  22. mv "${srcdir}"/${pkgname}{,-${pkgver}}
  23. }
  24. build()
  25. {
  26. mkdir "${srcdir}"/${pkgname}-${pkgver}/build
  27. cd "${srcdir}"/${pkgname}-${pkgver}/build
  28. cmake -DCMAKE_BUILD_TYPE=Release \
  29. -DBUILD_SHARED_LIBS=ON \
  30. -DCMAKE_INSTALL_PREFIX=/usr \
  31. -DCMAKE_INSTALL_LIBDIR=lib ..
  32. make
  33. }
  34. package()
  35. {
  36. cd "${srcdir}"/${pkgname}-${pkgver}/build
  37. make DESTDIR="${pkgdir}" install
  38. install -Dm644 "${srcdir}"/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
  39. }