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
|
|
|
|
|
2011-06-07 15:17:09 +08:00
|
|
|
pkgbase=kdepim-runtime
|
|
|
|
pkgname=${pkgbase}
|
2012-11-18 03:00:02 +08:00
|
|
|
arch=('x86_64')
|
2011-07-23 02:02:15 +08:00
|
|
|
pkgver=${_kdever}
|
2012-12-19 08:45:19 +08:00
|
|
|
pkgrel=1
|
2010-05-22 06:25:44 +08:00
|
|
|
pkgdesc="KDE Pim Runtime"
|
|
|
|
url="http://www.kde.org"
|
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
2011-06-07 15:17:09 +08:00
|
|
|
install=${pkgbase}.install
|
2013-07-24 08:15:53 +08:00
|
|
|
options=('docs' '!header' 'debug' 'log')
|
2012-12-10 10:46:24 +08:00
|
|
|
depends=("kdepimlibs>=${_kdever}" "kde-runtime>=${_kdever}" "kdelibs>=${_kdever}" 'prison'
|
2013-06-17 00:03:48 +08:00
|
|
|
'libdmtx' 'qrencode' 'libkgapi>=2.0.1' 'libkolab')
|
2012-05-27 02:32:30 +08:00
|
|
|
makedepends=('pkg-config' 'cmake' 'automoc4')
|
2011-06-07 15:17:09 +08:00
|
|
|
groups=("kde" "kdepim" "kde-uninstall" "kde-minimal")
|
2010-05-22 06:25:44 +08:00
|
|
|
|
2012-10-01 02:09:59 +08:00
|
|
|
source=($_mirror/${pkgbase}-$_kdever.tar.xz)
|
2013-12-17 20:32:36 +08:00
|
|
|
sha1sums=(`grep ${pkgbase}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
|
2010-05-22 06:25:44 +08:00
|
|
|
|
2012-05-27 02:32:30 +08:00
|
|
|
build() {
|
2012-06-01 10:09:55 +08:00
|
|
|
cd "${srcdir}"/${pkgbase}-${pkgver}
|
2012-10-01 02:09:59 +08:00
|
|
|
|
2012-05-27 02:32:30 +08:00
|
|
|
msg "starting build ..."
|
2012-06-10 06:08:35 +08:00
|
|
|
|
2012-05-27 02:32:30 +08:00
|
|
|
cd ${srcdir}
|
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
cmake ../${pkgbase}-${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
|
|
|
|
}
|
2010-05-22 06:25:44 +08:00
|
|
|
|
2012-05-27 02:32:30 +08:00
|
|
|
package() {
|
2012-05-27 03:26:03 +08:00
|
|
|
cd ${srcdir}/build
|
2012-05-27 02:32:30 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2010-05-22 06:25:44 +08:00
|
|
|
}
|