PKGBUILD 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # Maintainer: Andreas Grapentin <andreas@grapentin.org>
  2. # Maintainer: David P. <megver83@parabola.nu>
  3. # Maintainer (Arch): Ronald van Haren <ronald.archlinux.org>
  4. # Contributor: Michał Masłowski <mtjm@mtjm.eu>
  5. # Contributor: André Silva <emulatorman@hyperbola.info>
  6. # Contributor: Damir Perisa <damir.perisa@bluewin.ch>
  7. pkgname=kile
  8. pkgver=2.9.94
  9. pkgrel=1
  10. pkgdesc='A user friendly TeX/LaTeX frontend for KDE'
  11. pkgdesc+=', without nonfree Adobe Reader recommendation'
  12. arch=(x86_64)
  13. arch+=(i686 armv7h)
  14. license=(GPL-2.0-or-later)
  15. url='https://apps.kde.org/kile/'
  16. depends=(gcc-libs
  17. glibc
  18. kcodecs
  19. kcolorscheme
  20. kcompletion
  21. kconfig
  22. kconfigwidgets
  23. kcoreaddons
  24. kcrash
  25. kdbusaddons
  26. kguiaddons
  27. ki18n
  28. kiconthemes
  29. kio
  30. kparts
  31. kservice
  32. ktexteditor
  33. ktextwidgets
  34. kwidgetsaddons
  35. kwindowsystem
  36. kxmlgui
  37. okular
  38. perl
  39. poppler-qt6
  40. qt6-5compat
  41. qt6-base
  42. qt6-declarative
  43. texlive-basic)
  44. makedepends=(extra-cmake-modules
  45. kdoctools)
  46. optdepends=('imagemagick: for some file type conversions'
  47. 'konsole: embedded terminal')
  48. source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
  49. source+=(libre.patch)
  50. sha256sums=('53c6742bd83fb095cbdc898b03fdf8e15ab680a81693ccaf9c5076b93ad1a3ca'
  51. '254eb9ef48c53d67eac107c6b99f7a10c69d88327f860543d35c4240cec9a2ed')
  52. prepare() {
  53. # Remove nonfree Adobe Reader recommendation
  54. patch -d $pkgname-$pkgver -p1 < libre.patch
  55. }
  56. build() {
  57. cmake -B build -S $pkgname-$pkgver
  58. cmake --build build
  59. }
  60. package() {
  61. DESTDIR="$pkgdir" cmake --install build
  62. }