PKGBUILD 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Maintainer (arch): Felix Yan <felixonmars@archlinux.org>
  2. # Maintainer (arch): Antonio Rojas <arojas@archlinux.org>
  3. # Contributor: Andrea Scarpino <andrea@archlinux.org>
  4. # parabola changes and rationale:
  5. # - build without qt5-webengine
  6. pkgname=parley
  7. pkgver=19.12.3
  8. pkgrel=1
  9. pkgrel+=.parabola1
  10. pkgdesc="Vocabulary Trainer"
  11. url="https://kde.org/applications/education/parley/"
  12. arch=(x86_64)
  13. arch+=(i686 armv7h)
  14. license=(GPL LGPL FDL)
  15. groups=(kde-applications kdeedu)
  16. depends=(kross knewstuff libkeduvocdocument qt5-webkit kcmutils)
  17. makedepends=(extra-cmake-modules kdoctools)
  18. source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
  19. "libre.patch")
  20. sha256sums=('ebf9fdec981abca988d83d8a77e921e7ce871eb010b6cf4ea9065ee6d45f5089'
  21. 'SKIP'
  22. '5028f4e5183676f377274fd5b895721125e377165441a6ec48a9bf330765309b')
  23. validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
  24. F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
  25. prepare() {
  26. mkdir -p build
  27. # remove qt5-webengine references
  28. cd $pkgname-$pkgver
  29. patch -Np1 -i "$srcdir"/libre.patch
  30. }
  31. build() {
  32. cd build
  33. cmake ../$pkgname-$pkgver \
  34. -DBUILD_TESTING=OFF
  35. make
  36. }
  37. package() {
  38. cd build
  39. make DESTDIR="$pkgdir" install
  40. }