desktop/kdepimlibs/PKGBUILD

59 lines
1.4 KiB
Bash
Raw Normal View History

# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
2010-05-22 06:25:44 +08:00
2013-12-18 02:36:04 +08:00
# Include global configuration
2010-05-22 06:25:44 +08:00
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
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
pkgdesc="KDE PIM libraries"
2010-05-22 06:25:44 +08:00
url="http://www.kde.org"
2013-12-18 02:59:28 +08:00
license=('GPL'
'LGPL'
'FDL')
install=${pkgname}.install
2013-12-18 02:59:28 +08:00
options=('docs'
'!header'
'debug'
'log')
2015-02-23 02:56:22 +08:00
depends=("kdelibs>=${_libsver}"
2014-07-27 05:52:29 +08:00
'akonadi>=1.12.90'
2013-12-18 02:59:28 +08:00
'libical'
'gpgme'
'prison'
'libdmtx'
'qrencode'
2014-03-26 20:37:59 +08:00
'qjson')
2013-12-18 02:59:28 +08:00
makedepends=('pkg-config'
'cmake>=2.8.9'
'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
}