summaryrefslogtreecommitdiff
path: root/libre/kdepim-addons/PKGBUILD
blob: 6ee519e27bfddf298e68b9a204e89fb76c220f35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# $Id: PKGBUILD 290221 2017-03-09 16:12:45Z arojas $
# Maintainer (Arch): Antonio Rojas <arojas@archlinux.org>
# Maintainer: André Silva <emulatorman@hyperbola.info>
# Contributor: jc_gargma <jc_gargma@iserlohn-fortress.net>

pkgname=kdepim-addons
pkgver=17.04.3
pkgrel=1.parabola1
pkgdesc='Addons for KDE PIM applications (built without nonfree qt5-webengine)'
arch=(i686 x86_64 armv7h)
url='https://community.kde.org/KDE_PIM'
license=(GPL LGPL FDL)
depends=(mailcommon incidenceeditor libktnef libksieve akonadi-notes)
makedepends=(extra-cmake-modules kdoctools boost python kdesignerplugin)
groups=(kde-applications kdepim)
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
        'libre.patch')
sha512sums=('7cccf4906dfa43fd12e3971ebf67494986084d364be0bbbacd1d64274851f0f32621811e8a4a5ab5038d2c3c820028d9e0fbc73d0bd5267eeb094fb17a36772b'
            'SKIP'
            '0e422fcdb3fe2c250977906aec6f46b055c082954c5a9d4c25c37a8ee306ab92090f2ab22596107f7b905c81d09ca3a314dc2e81bc46bb539a18a0775c820569')
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>

prepare() {
  mkdir -p build
  cd $pkgname-$pkgver
  patch -p1 -i ../libre.patch
  rm -rv plugins/webengineurlinterceptor
}

build() {
  cd build
  cmake ../$pkgname-$pkgver \
    -DCMAKE_BUILD_TYPE=Release \
    -DBUILD_TESTING=OFF \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DKDE_INSTALL_LIBDIR=lib
  make
}

package() {
  cd build
  make DESTDIR="$pkgdir" install
}