PKGBUILD 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
  2. # Contributor: bill-auger <bill-auger@programmer.net>
  3. pkgname=kurso-de-esperanto
  4. pkgver=4.1.3pre
  5. pkgrel=1
  6. pkgdesc="Kurso de Esperanto is a multimedia computer program for teaching yourself Esperanto"
  7. arch=('armv7h' 'i686' 'x86_64')
  8. url=http://www.kurso.com.br/
  9. license=('GPL3')
  10. depends=('qt5-multimedia')
  11. source=(https://kurso.com.br/kurso_qt5_source.tar.gz \
  12. https://kurso.com.br/kurso4_only_qt.tar.gz )
  13. sha256sums=('166061290b71c823e90aa84ff250263bb05bca2c855994f180acf6f6814fba4d' # pre-release source-ball
  14. 'eea979391b016a630dc93bdf52f5d2075d4b5c55c7fda97e8f3372c66dea57d7') # pre-release binary assets
  15. build()
  16. {
  17. # cd "${srcdir}"/${pkgname}
  18. cd "${srcdir}"/KURSO_Qt5/ # pre-release source-ball
  19. qmake CONFIG+=release CONFIG+=force_debug_info
  20. make PREFIX=/usr
  21. }
  22. package()
  23. {
  24. # cd "${srcdir}"/${pkgname}
  25. cd "${srcdir}"/KURSO_Qt5/ # pre-release source-ball
  26. _dest_dir="${pkgdir}"/usr/bin/${pkgname}
  27. # Install kurso binary into it's on folder + symlink
  28. install -D -m755 kurso4 ${_dest_dir}/kurso4
  29. ln -s /usr/bin/${pkgname}/kurso4 "${pkgdir}"/usr/bin/kurso4
  30. # Copy missing assets from the binary release, source archive is incomplete causing segfault
  31. cd "${srcdir}"/kurso4_only_qt/
  32. find sonoj/ tradukoj/ -type f -exec install -Dm644 {} ${_dest_dir}/{} \;
  33. }