mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
43 lines
1009 B
Bash
43 lines
1009 B
Bash
|
# Include global configuration
|
||
|
source ../kdeapps.conf
|
||
|
|
||
|
pkgname=kdepimlibs4
|
||
|
pkgver=${_libsver}
|
||
|
_kdeappver=15.04.3
|
||
|
pkgrel=1
|
||
|
pkgdesc="KDE4 PIM Libraries"
|
||
|
arch=('x86_64')
|
||
|
url='https://projects.kde.org/projects/kde/kdepimlibs'
|
||
|
license=('GPL' 'LGPL')
|
||
|
depends=('kdelibs' 'gpgme' 'libakonadi-qt4' 'libical' 'prison' 'qjson')
|
||
|
makedepends=('cmake' 'automoc4' 'boost' 'cyrus-sasl' 'akonadi-qt4-dbus')
|
||
|
conflicts=('kdepimlibs')
|
||
|
provides=('kdepimlibs')
|
||
|
replaces=('kdepimlibs')
|
||
|
install='kdepimlibs4.install'
|
||
|
source=("http://download.kde.org/stable/applications/${_kdeappver}/src/kdepimlibs-${pkgver}.tar.xz")
|
||
|
sha1sums=('8db2f59b8a33f4d1bbebfdff8b772d30669c9932')
|
||
|
|
||
|
prepare() {
|
||
|
mkdir -p build
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd build
|
||
|
cmake ../kdepimlibs-${pkgver} \
|
||
|
-DCMAKE_BUILD_TYPE=Release \
|
||
|
-DKDE4_BUILD_TESTS=OFF \
|
||
|
-DCMAKE_SKIP_RPATH=ON \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd build
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
|
||
|
# Conflicts with KF5 libs
|
||
|
rm -r "$pkgdir"/usr/{bin,share/{config.kcfg,mime}}
|
||
|
}
|
||
|
|