mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
59 lines
1.4 KiB
Bash
59 lines
1.4 KiB
Bash
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
|
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
|
|
|
|
# Include global configuration
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname="kdepimlibs"
|
|
arch=('x86_64')
|
|
pkgver=${_libsver}
|
|
pkgrel=1
|
|
pkgdesc="KDE PIM libraries"
|
|
url="http://www.kde.org"
|
|
license=('GPL'
|
|
'LGPL'
|
|
'FDL')
|
|
install=${pkgname}.install
|
|
options=('docs'
|
|
'!header'
|
|
'debug'
|
|
'log')
|
|
depends=("kdelibs>=${_libsver}"
|
|
'akonadi>=1.12.90'
|
|
'libical'
|
|
'gpgme'
|
|
'prison'
|
|
'libdmtx'
|
|
'qrencode'
|
|
'qjson')
|
|
makedepends=('pkg-config'
|
|
'cmake>=2.8.9'
|
|
'automoc4'
|
|
'boost'
|
|
'cyrus-sasl'
|
|
'openldap'
|
|
'prison'
|
|
'docbook-xsl')
|
|
groups=('kde'
|
|
'kde-uninstall'
|
|
'kde-minimal')
|
|
source=($_mirror/${pkgname}-$_libsver.tar.xz)
|
|
sha256sums=(`grep ${pkgname}-$_libsver.tar.xz ../checksums.txt | cut -d" " -f1`)
|
|
|
|
build() {
|
|
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
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|