desktop/kdepim-runtime/PKGBUILD

58 lines
1.2 KiB
Bash
Raw Normal View History

2010-05-22 06:25:44 +08:00
#
# 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
#
2011-06-07 15:17:09 +08:00
pkgbase=kdepim-runtime
pkgname=${pkgbase}
2010-05-22 06:25:44 +08:00
arch=('i686' 'x86_64')
2011-06-07 15:17:09 +08:00
#pkgver=${_kdever}
2011-06-07 15:17:09 +08:00
pkgver=4.6.0
2011-06-16 02:56:18 +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
options=('docs' '!splithdr' 'splitdbg' 'log')
2011-06-08 05:45:24 +08:00
depends=("kdepimlibs>=${_kdever}" "kdebase-runtime" "kdelibs>=${_kdever}")
2010-05-22 06:25:44 +08:00
makedepends=('pkgconfig' '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
2011-06-16 02:56:18 +08:00
source=($_mirror/${pkgbase}-$pkgver.tar.bz2)
md5sums=('b7b5409cb22d57bd817a6d653f714bd7')
2010-05-22 06:25:44 +08:00
#
# build and install
#
build()
{
msg "starting build ..."
cd ${srcdir}
2010-11-09 16:14:53 +08:00
mkdir -p build
2010-05-22 06:25:44 +08:00
cd build
2011-06-07 15:20:39 +08:00
cmake ../${pkgbase}-${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'
make || return 1
2011-06-07 15:17:09 +08:00
}
2010-05-22 06:25:44 +08:00
2011-06-07 15:17:09 +08:00
package()
{
cd ${srcdir}/build
2010-05-22 06:25:44 +08:00
make DESTDIR=${pkgdir} install || return 1
}