mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
0af05b343a
renamed checksums to kdeapps.sums added for all packages the pgp signature for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
196 lines
5.9 KiB
Bash
196 lines
5.9 KiB
Bash
# Include global configuration
|
|
source ../kdeapps.conf
|
|
|
|
pkgbase=kdepim
|
|
pkgname=(akonadiconsole akregator blogilo kdepim-console kaddressbook kalarm kmail knotes kontact korganizer ktnef kdepim-common)
|
|
pkgver=${_kdever}
|
|
pkgrel=1
|
|
arch=('x86_64')
|
|
url='http://pim.kde.org'
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdepim')
|
|
makedepends=(libkdepim extra-cmake-modules kdepim-runtime qt5-tools grantlee-qt5 kdoctools knewstuff khtml ktexteditor kdnssd kldap libktnef boost gpgmepp kontactinterface kxmlrpcclient kblog akonadi-search libgravatar mailimporter mailcommon incidenceeditor libksieve kdepim-addons)
|
|
options=('docs' 'debug')
|
|
source=("$_mirror/${pkgbase}-$_kdever.tar.xz"{,.sig})
|
|
sha256sums=(`grep " ${pkgbase}-$_kdever.tar.xz"{,.sig} ../kdeapps.sums | cut -d " " -f1`)
|
|
validpgpkeys=(${Avalidpgpkeys})
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
cd ${srcdir}/${pkgbase}-${pkgver}
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgbase}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package_akonadiconsole() {
|
|
pkgdesc='Akonadi Management and Debugging Console'
|
|
depends=(calendarsupport messagelib hicolor-icon-theme)
|
|
conflicts=("kdepim-$pkgname")
|
|
replaces=("kdepim-$pkgname")
|
|
url='http://pim.kde.org'
|
|
install='kdepim.install'
|
|
cd build/akonadiconsole
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
package_akregator() {
|
|
pkgdesc='A Feed Reader for KDE'
|
|
depends=('kdepim-common' 'khtml' 'kontactinterface')
|
|
conflicts=("kdepim-$pkgname")
|
|
replaces=("kdepim-$pkgname")
|
|
url="http://kde.org/applications/internet/akregator/"
|
|
install='akregator.install'
|
|
cd build/akregator
|
|
make DESTDIR="$pkgdir" install
|
|
cd "$srcdir"/build/doc/akregator
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
package_blogilo() {
|
|
pkgdesc='A KDE Blogging Client'
|
|
depends=('kdepim-common' 'kblog' 'ktexteditor')
|
|
conflicts=("kdepim-$pkgname")
|
|
replaces=("kdepim-$pkgname")
|
|
url="http://kde.org/applications/internet/blogilo/"
|
|
install='kdepim.install'
|
|
cd build/blogilo
|
|
make DESTDIR="$pkgdir" install
|
|
cd "$srcdir"/build/doc/blogilo
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
package_kdepim-console() {
|
|
pkgdesc='Command line tool for accessing calendar files'
|
|
depends=('kdepim-common')
|
|
url='http://pim.kde.org'
|
|
install='kdepim.install'
|
|
cd build/console
|
|
make DESTDIR="$pkgdir" install
|
|
cd "$srcdir"/build/doc/konsolekalendar
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
package_kaddressbook() {
|
|
pkgdesc='Contact Manager'
|
|
depends=('kdepim-common' 'kontactinterface')
|
|
conflicts=("kdepim-$pkgname")
|
|
replaces=("kdepim-$pkgname")
|
|
url="http://kde.org/applications/office/kaddressbook/"
|
|
install='kaddressbook.install'
|
|
|
|
cd "$srcdir"/build/kaddressbook
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
package_kalarm() {
|
|
pkgdesc='Personal Alarm Scheduler'
|
|
depends=('kdepim-common')
|
|
conflicts=("kdepim-$pkgname")
|
|
replaces=("kdepim-$pkgname")
|
|
url="http://kde.org/applications/utilities/kalarm/"
|
|
install='kdepim.install'
|
|
cd build/kalarm
|
|
make DESTDIR="$pkgdir" install
|
|
cd "$srcdir"/build/doc/kalarm
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
package_kmail() {
|
|
pkgdesc='Mail Client'
|
|
depends=(kdepim-common kontactinterface kio-pim libksieve)
|
|
conflicts=("kdepim-$pkgname")
|
|
replaces=("kdepim-$pkgname")
|
|
url="http://kde.org/applications/internet/kmail/"
|
|
install='kmail.install'
|
|
|
|
for _i in kmail storageservicemanager importwizard grantleeeditor mboximporter sieveeditor; do
|
|
cd "$srcdir"/build/$_i
|
|
make DESTDIR="$pkgdir" install
|
|
done
|
|
|
|
for _i in akonadi_archivemail_agent kmail importwizard sieveeditor; do
|
|
cd "$srcdir"/build/doc/$_i
|
|
make DESTDIR="$pkgdir" install
|
|
done
|
|
}
|
|
|
|
package_knotes() {
|
|
pkgdesc='Popup Notes'
|
|
depends=('kdepim-common' 'kontactinterface')
|
|
conflicts=("kdepim-$pkgname")
|
|
replaces=("kdepim-$pkgname")
|
|
url="http://kde.org/applications/utilities/knotes/"
|
|
install='kdepim.install'
|
|
|
|
cd "$srcdir"/build/knotes
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
for _i in knotes akonadi_notes_agent; do
|
|
cd "$srcdir"/build/doc/$_i
|
|
make DESTDIR="$pkgdir" install
|
|
done
|
|
}
|
|
|
|
package_kontact() {
|
|
pkgdesc='Personal Information Manager'
|
|
depends=('kdepim-common' 'kontactinterface')
|
|
conflicts=("kdepim-$pkgname")
|
|
replaces=("kdepim-$pkgname")
|
|
url="http://kde.org/applications/office/kontact/"
|
|
install='kdepim.install'
|
|
cd build/kontact
|
|
make DESTDIR="$pkgdir" install
|
|
cd "$srcdir"/build/doc/kontact
|
|
make DESTDIR="$pkgdir" install
|
|
cd "$srcdir"/build/doc/kontact-admin
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
package_korganizer() {
|
|
pkgdesc='Calendar and Scheduling Program'
|
|
depends=('kdepim-common' 'kontactinterface')
|
|
conflicts=("kdepim-$pkgname")
|
|
replaces=("kdepim-$pkgname")
|
|
url="http://kde.org/applications/office/korganizer"
|
|
install='korganizer.install'
|
|
|
|
cd "$srcdir"/build/korganizer
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
cd "$srcdir"/build/doc/korganizer
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
package_ktnef() {
|
|
pkgdesc='A viewer/extractor for TNEF files'
|
|
depends=('libktnef' 'hicolor-icon-theme')
|
|
conflicts=("kdepim-$pkgname")
|
|
replaces=("kdepim-$pkgname")
|
|
url="https://projects.kde.org/projects/kde/kdepim/ktnef"
|
|
install=ktnef.install
|
|
cd build/ktnef
|
|
make DESTDIR="$pkgdir" install
|
|
cd "$srcdir"/build/doc/ktnef
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
package_kdepim-common() {
|
|
pkgdesc='Common libraries and resources for KDE PIM applications'
|
|
depends=(incidenceeditor mailcommon kdepim-runtime kdnssd libktnef libkdepim kdepim-addons)
|
|
url='http://pim.kde.org'
|
|
install=kdepim.install
|
|
for _i in accountwizard pimsettingexporter; do
|
|
cd "$srcdir"/build/$_i
|
|
make DESTDIR="$pkgdir" install
|
|
done
|
|
for _i in akonadi_sendlater_agent akonadi_followupreminder_agent contactthemeeditor headerthemeeditor pimsettingexporter; do
|
|
cd "$srcdir"/build/doc/$_i
|
|
make DESTDIR="$pkgdir" install
|
|
done
|
|
}
|
|
|