desktop/kdepimlibs4/PKGBUILD
AlmAck 0af05b343a kde applications 16.12.0
renamed checksums to kdeapps.sums
added for all packages the pgp signature
for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
2016-12-20 21:48:24 +00:00

50 lines
1.4 KiB
Bash

pkgname=kdepimlibs4
pkgver=4.14.10
_kdeappver=15.04.3
pkgrel=10
pkgdesc="KDE4 PIM Libraries"
arch=('x86_64')
url='https://projects.kde.org/projects/kde/kdepimlibs'
license=('GPL' 'LGPL')
depends=('kdelibs' 'libakonadi-qt4' 'libical' 'qjson')
makedepends=('cmake' 'automoc4' 'boost' 'cyrus-sasl' 'akonadi-qt4')
conflicts=('kdepimlibs')
provides=('kdepimlibs')
replaces=('kdepimlibs')
source=("http://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")
sha1sums=('8db2f59b8a33f4d1bbebfdff8b772d30669c9932'
'8bebf347baf5a8058b5abac42a5bb417540ade1a'
'cf33e0350b0384b6bc640ebc1c65fa10650b35ce')
prepare() {
mkdir -p build
# Fix https://bugs.kde.org/show_bug.cgi?id=338658
cd kdepimlibs-$pkgver
patch -p1 -i ../kdepimlibs4-bug338658-1.patch
patch -p1 -i ../kdepimlibs4-bug338658-2.patch
# Don't build gpgme++
sed -e '/gpgme++/d' -e '/qgpgme/d' -i CMakeLists.txt
}
build() {
cd build
cmake ../kdepimlibs-${pkgver} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
# Conflicts with KF5 libs
rm -r "$pkgdir"/usr/{bin,share/{akonadi,config.kcfg}}
}