summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 14 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 51ffcccdb68d..269c8cc44618 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,4 @@
-# $Id$
-# Contributor: Charles Bos <charlesbos1 AT gmail>
+# Maintainer: Charles Bos <charlesbos1 AT gmail>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
@@ -7,22 +6,26 @@
pkgname=kdepimlibs4
pkgver=4.14.10
_kdeappver=15.04.3
-pkgrel=12
+pkgrel=13
pkgdesc="KDE4 PIM Libraries"
arch=('x86_64')
url='https://projects.kde.org/projects/kde/kdepimlibs'
license=('GPL' 'LGPL')
-depends=('kdelibs' 'libakonadi-qt4' 'libical2' 'qjson')
-makedepends=('cmake' 'automoc4' 'boost' 'cyrus-sasl' 'akonadi-qt4')
+depends=('kdelibs' 'libakonadi-qt4' 'libical' 'qjson')
+# Note: makedepend on akonadi (KDE5 version) is not a mistake
+# akonadi-qt4 is not needed here
+makedepends=('cmake' 'automoc4' 'boost' 'cyrus-sasl' 'akonadi')
conflicts=('kdepimlibs')
provides=('kdepimlibs')
replaces=('kdepimlibs')
source=("https://download.kde.org/Attic/applications/${_kdeappver}/src/kdepimlibs-${pkgver}.tar.xz"
kdepimlibs4-bug338658-1.patch::"https://cgit.kde.org/kdepimlibs.git/patch/?id=4429619"
- kdepimlibs4-bug338658-2.patch::"https://cgit.kde.org/kdepimlibs.git/patch/?id=d8b5da7")
+ kdepimlibs4-bug338658-2.patch::"https://cgit.kde.org/kdepimlibs.git/patch/?id=d8b5da7"
+ fix-build-with-ical-3.0.diff)
sha1sums=('8db2f59b8a33f4d1bbebfdff8b772d30669c9932'
'8bebf347baf5a8058b5abac42a5bb417540ade1a'
- 'cf33e0350b0384b6bc640ebc1c65fa10650b35ce')
+ 'cf33e0350b0384b6bc640ebc1c65fa10650b35ce'
+ '33604606832f4489390bdbc0f94ea51bb791fc4b')
prepare() {
mkdir -p build
@@ -34,6 +37,10 @@ prepare() {
# Don't build gpgme++
sed -e '/gpgme++/d' -e '/qgpgme/d' -i CMakeLists.txt
+
+# Allow for building against libical 3
+# With thanks to the Fedora maintainers
+ patch -p1 -i ../fix-build-with-ical-3.0.diff
}
build() {