desktop/kdepimlibs/PKGBUILD

35 lines
1020 B
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
# Include global configuration
source ../kdeapps.conf
2010-05-22 06:25:44 +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
pkgdesc="KDE PIM libraries"
2010-05-22 06:25:44 +08:00
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
install=${pkgname}.install
options=('docs' 'debug')
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
}