2013-12-18 02:36:04 +08:00
|
|
|
# Include global configuration
|
2015-04-10 05:07:08 +08:00
|
|
|
source ../kdeapps.conf
|
2010-05-22 06:25:44 +08:00
|
|
|
|
2012-02-06 04:46:15 +08:00
|
|
|
pkgname="kdepimlibs"
|
2012-11-17 18:12:33 +08:00
|
|
|
arch=('x86_64')
|
2015-02-20 06:29:49 +08:00
|
|
|
pkgver=${_libsver}
|
2014-02-01 19:24:18 +08:00
|
|
|
pkgrel=1
|
2014-01-13 00:22:06 +08:00
|
|
|
pkgdesc="KDE PIM libraries"
|
2010-05-22 06:25:44 +08:00
|
|
|
url="http://www.kde.org"
|
2015-04-10 05:07:08 +08:00
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
2012-02-06 04:46:15 +08:00
|
|
|
install=${pkgname}.install
|
2015-05-14 05:17:22 +08:00
|
|
|
options=('docs' 'debug')
|
2015-04-10 05:07:08 +08:00
|
|
|
depends=("kdelibs>=${_libsver}" 'akonadi' 'libical' 'gpgme' 'prison' 'libdmtx' 'qrencode' 'qjson')
|
|
|
|
makedepends=('pkg-config' 'cmake' 'automoc4' 'boost' 'cyrus-sasl' 'openldap' 'prison' 'docbook-xsl')
|
|
|
|
groups=('kde' 'kde-uninstall' 'kde-minimal')
|
2015-02-20 06:29:49 +08:00
|
|
|
source=($_mirror/${pkgname}-$_libsver.tar.xz)
|
|
|
|
sha256sums=(`grep ${pkgname}-$_libsver.tar.xz ../checksums.txt | cut -d" " -f1`)
|
2010-05-22 06:25:44 +08:00
|
|
|
|
2012-05-26 21:34:40 +08:00
|
|
|
build() {
|
2013-12-18 02:59:28 +08:00
|
|
|
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
|
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() {
|
2013-12-18 02:59:28 +08:00
|
|
|
cd ${srcdir}/build
|
|
|
|
make DESTDIR=${pkgdir} install
|
2010-05-22 06:25:44 +08:00
|
|
|
}
|