desktop/kdepimlibs/PKGBUILD
philm 96fc44d963 merge kde 4.8 to testing
remove some outdated pkgs
2012-02-05 21:46:15 +01:00

56 lines
1.3 KiB
Bash

#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
#
# package info
#
pkgname="kdepimlibs"
arch=('i686' 'x86_64')
pkgver=${_kdever}
pkgrel=3
pkgdesc="KDE Pim Libraries"
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
install=${pkgname}.install
options=('docs' '!splithdr' 'splitdbg' 'log')
depends=("kdelibs>=${_kdever}" 'akonadi>=1.6.90' 'libical' 'gpgme' 'prison')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'cyrus-sasl' 'openldap' 'prison' 'docbook-xsl')
groups=("kde" "kde-uninstall" "kde-minimal")
source=($_mirror/${pkgname}-$_kdever.tar.bz2)
md5sums=(`grep ${pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
#
# build and install
#
build()
{
msg "starting build ..."
cd ${srcdir}
mkdir -p build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make || return 1
}
package()
{
cd ${srcdir}/build
make DESTDIR=${pkgdir} install || return 1
}