2010-05-22 06:25:44 +08:00
|
|
|
#
|
|
|
|
# KDE SC Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
2012-12-05 06:26:03 +08:00
|
|
|
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
2010-05-22 06:25:44 +08:00
|
|
|
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
2012-02-06 04:46:15 +08:00
|
|
|
pkgname="kdepimlibs"
|
2012-11-17 18:12:33 +08:00
|
|
|
arch=('x86_64')
|
2010-05-22 06:25:44 +08:00
|
|
|
pkgver=${_kdever}
|
2012-08-30 08:17:20 +08:00
|
|
|
pkgrel=1
|
2010-05-22 06:25:44 +08:00
|
|
|
|
|
|
|
pkgdesc="KDE Pim Libraries"
|
|
|
|
url="http://www.kde.org"
|
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
|
|
|
2012-02-06 04:46:15 +08:00
|
|
|
install=${pkgname}.install
|
2010-12-15 22:51:53 +08:00
|
|
|
options=('docs' '!splithdr' 'splitdbg' 'log')
|
2012-12-19 12:10:05 +08:00
|
|
|
depends=("kdelibs>=${_kdever}" 'akonadi>=1.8.80' 'libical' 'gpgme' 'prison' 'libdmtx' 'qrencode' 'qjson' 'nepomuk-core')
|
2012-12-05 06:26:03 +08:00
|
|
|
makedepends=('pkg-config' 'cmake>=2.8.9' 'automoc4' 'boost' 'cyrus-sasl' 'openldap' 'prison' 'docbook-xsl')
|
2010-05-22 06:25:44 +08:00
|
|
|
|
2011-07-23 02:02:15 +08:00
|
|
|
groups=("kde" "kde-uninstall" "kde-minimal")
|
2010-05-22 06:25:44 +08:00
|
|
|
|
2012-03-30 09:11:15 +08:00
|
|
|
source=($_mirror/${pkgname}-$_kdever.tar.xz)
|
|
|
|
md5sums=(`grep ${pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
|
2010-05-22 06:25:44 +08:00
|
|
|
|
2012-05-26 21:34:40 +08:00
|
|
|
build() {
|
2010-05-22 06:25:44 +08:00
|
|
|
msg "starting build ..."
|
|
|
|
cd ${srcdir}
|
2010-07-09 04:29:54 +08:00
|
|
|
mkdir -p build
|
2010-05-22 06:25:44 +08:00
|
|
|
cd build
|
|
|
|
|
2012-02-06 04:46:15 +08:00
|
|
|
cmake ../${pkgname}-${pkgver} \
|
2010-05-22 06:25:44 +08:00
|
|
|
-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'
|
|
|
|
|
2012-11-17 18:12:33 +08:00
|
|
|
make
|
2011-07-23 02:02:15 +08:00
|
|
|
}
|
2010-05-22 06:25:44 +08:00
|
|
|
|
2012-05-26 21:34:40 +08:00
|
|
|
package() {
|
2011-07-23 02:02:15 +08:00
|
|
|
cd ${srcdir}/build
|
2012-11-17 18:12:33 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2010-05-22 06:25:44 +08:00
|
|
|
}
|