mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
64 lines
1.3 KiB
Bash
64 lines
1.3 KiB
Bash
# Include global configuration
|
|
source ../kdeapps.conf
|
|
|
|
pkgbase=kdepimlibs
|
|
pkgname=(akonadi-contact akonadi-mime akonadi-notes akonadi-socialutils kio-pim)
|
|
pkgver=${_kdever}
|
|
pkgrel=1
|
|
pkgdesc="KDE PIM Libraries"
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/kdepimlibs'
|
|
license=(GPL LGPL)
|
|
makedepends=(extra-cmake-modules qt5-tools kcalcore kmbox kcontacts kldap akonadi prison-kf5 boost kdoctools grantlee-qt5)
|
|
options=('docs' 'debug')
|
|
source=("$_mirror/${pkgbase}-$_kdever.tar.xz")
|
|
sha256sums=(`grep ${pkgbase}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgbase}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package_akonadi-contact() {
|
|
depends=(akonadi kmime kcontacts kcalcore prison-kf5)
|
|
|
|
cd build/akonadi-contact
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
package_akonadi-mime() {
|
|
depends=(akonadi kmime)
|
|
install=akonadi-mime.install
|
|
|
|
cd build/akonadi-mime
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
package_akonadi-notes() {
|
|
depends=(kmime)
|
|
|
|
cd build/akonadi-notes
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
package_akonadi-socialutils() {
|
|
depends=(akonadi)
|
|
install=akonadi-socialutils.install
|
|
|
|
cd build/akonadi-socialutils
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
package_kio-pim() {
|
|
pkgdesc='PIM kioslaves'
|
|
depends=(kldap kio)
|
|
|
|
cd build/kioslave
|
|
make DESTDIR="$pkgdir" install
|
|
}
|