PKGBUILD 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $Id: PKGBUILD 290221 2017-03-09 16:12:45Z arojas $
  2. # Maintainer (Arch): Antonio Rojas <arojas@archlinux.org>
  3. # Maintainer: André Silva <emulatorman@hyperbola.info>
  4. pkgname=kdepim-addons
  5. pkgver=16.12.3
  6. pkgrel=1.parabola2.nonprism1
  7. pkgdesc='Addons for KDE PIM applications, without libkgapi support (built without nonfree qt5-webengine)'
  8. arch=(i686 x86_64)
  9. url='https://community.kde.org/KDE_PIM'
  10. license=(GPL LGPL FDL)
  11. depends=(mailcommon incidenceeditor libktnef)
  12. makedepends=(extra-cmake-modules kdoctools boost python kdesignerplugin)
  13. groups=(kde-applications kdepim)
  14. source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
  15. 'libre.patch')
  16. sha256sums=('b5bede3a4b4c29905e93159d18c5fcb6f536e8c1097b25db09fa7877e23e15c3'
  17. 'SKIP'
  18. 'd41170f09bcf6485a6d029f09fc3f104cc8f29cf6ce890999ae9b83b08f26fd7')
  19. validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid <aacid@kde.org>
  20. prepare() {
  21. mkdir -p build
  22. cd $pkgname-$pkgver
  23. patch -p1 -i ../libre.patch
  24. rm -rv plugins/webengineurlinterceptor
  25. }
  26. build() {
  27. cd build
  28. cmake ../$pkgname-$pkgver \
  29. -DCMAKE_BUILD_TYPE=Release \
  30. -DBUILD_TESTING=OFF \
  31. -DCMAKE_INSTALL_PREFIX=/usr \
  32. -DKDE_INSTALL_LIBDIR=lib
  33. make
  34. }
  35. package() {
  36. cd build
  37. make DESTDIR="$pkgdir" install
  38. }