desktop/kdepim-runtime/PKGBUILD

47 lines
1.4 KiB
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
# Include global configuration
source ../kdeapps.conf
2010-05-22 06:25:44 +08:00
pkgname=kdepim-runtime
pkgver=${_kdever}
pkgrel=2
pkgdesc='Extends the functionality of kdepim'
arch=('x86_64')
url='https://projects.kde.org/projects/kde/kdepim-runtime'
license=('GPL' 'LGPL' 'FDL')
2015-12-06 21:33:31 +08:00
depends=(hicolor-icon-theme libkgapi libkolab akonadi-socialutils akonadi-calendar
2017-05-02 05:29:40 +08:00
knotifyconfig kross kalarmcal kmbox kimap qt5-speech syndication kdav)
makedepends=(extra-cmake-modules kdoctools boost)
install=$pkgname.install
options=('debug')
provides=('kio-pim') # the libkdepim pkg was splitted during the 16.08 release
replaces=('kio-pim') # kio is now part of multiple packages (kmailtransport, kldap, kdepim-runtime)
2016-08-13 23:51:19 +08:00
conflicts=('kio-pim') # can be removed when 16.12 is released
source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig})
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
2017-05-13 06:21:23 +08:00
'SKIP')
# KDE patch
source+=(kdebug-379733.patch::'https://cgit.kde.org/kdepim-runtime.git/patch/?id=e8b131fe179f474af9de12f1289ea70cd99e90e4')
sha256sums+=('1e4b78e14922a1df7d29dfc7efe7e4c8def5eee41062ca7f401c0a867ffe3901')
validpgpkeys=(${Avalidpgpkeys})
2010-05-22 06:25:44 +08:00
prepare() {
mkdir -p build
2016-10-02 13:21:27 +08:00
cd ${pkgname}-${pkgver}
# fix crash on account configuration
patch -p1 -i ../kdebug-379733.patch
}
2012-05-27 02:32:30 +08:00
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
2012-05-27 02:32:30 +08:00
}
2010-05-22 06:25:44 +08:00
2012-05-27 02:32:30 +08:00
package() {
cd build
make DESTDIR=${pkgdir} install
2010-05-22 06:25:44 +08:00
}