# Maintainer: H W Tovetjärn (totte) # Contributors: Manuel Tortosa # Include global configuration source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgbase=kdepim-runtime pkgname=${pkgbase} arch=('x86_64') pkgver=${_libsver} pkgrel=1 pkgdesc='Extends the functionality of KDE PIM' url='https://projects.kde.org/projects/kde/kdepim-runtime' license=('GPL' 'LGPL' 'FDL') install=${pkgbase}.install options=('docs' '!header' 'debug' 'log') depends=("kdepimlibs>=${_libsever}" "kde-runtime>=${_kdever}" "kdelibs>=${_libsver}" 'prison' 'libdmtx' 'qrencode' 'libkgapi' 'libkfbapi' 'libkolab') makedepends=('pkg-config' 'cmake' 'automoc4') groups=('kde' 'kdepim' 'kde-uninstall' 'kde-minimal') source=($_mirror/${pkgbase}-$_libsver.tar.xz) sha256sums=(`grep ${pkgbase}-$_libsver.tar.xz ../checksums.txt | cut -d" " -f1`) prepare() { cd "${srcdir}" mkdir build } build() { cd "${srcdir}/build" cmake ../${pkgbase}-${pkgver} \ -DCMAKE_BUILD_TYPE=${_build_type} \ -DCMAKE_INSTALL_PREFIX=${_installprefix} \ -DCMAKE_SKIP_RPATH=ON \ -DKDE4_BUILD_TESTS=ON \ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' make } package() { cd "${srcdir}/build" make DESTDIR=${pkgdir} install }